CMakeLists.txt 546 B

12345678910111213141516171819
  1. #
  2. # peTI-NESulator CMake
  3. #
  4. # Created by Manoel TRAPIER.
  5. # Copyright (c) 2003-2018 986-Studio. All rights reserved.
  6. #
  7. # $LastChangedDate$
  8. # $Author$
  9. # $HeadURL$
  10. # $Revision$
  11. if (COVERALLS)
  12. set(COVERAGE_SRCS src/os/unix/loadfile.c src/os/unix/graphics_dummy.c src/os/unix/sound.c src/os/unix/io.c ${COVERAGE_SRCS} PARENT_SCOPE)
  13. add_library(oslib loadfile.c graphics_dummy.c sound.c io.c)
  14. else()
  15. add_library(oslib loadfile.c graphics.c sound.c io.c)
  16. endif()
  17. target_link_libraries(oslib glfw ${OPENGL_glu_LIBRARY} ${OPENGL_gl_LIBRARY})