CMakeLists.txt 469 B

1234567891011121314
  1. #
  2. # peTI-NESulator CMake
  3. #
  4. # Created by Manoël Trapier.
  5. # Copyright (c) 2002-2019 986-Studio.
  6. #
  7. if (COVERALLS)
  8. 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)
  9. add_library(oslib loadfile.c graphics_dummy.c sound.c io.c)
  10. else()
  11. add_library(oslib loadfile.c graphics.c sound.c io.c)
  12. endif()
  13. target_link_libraries(oslib glfw ${OPENGL_glu_LIBRARY} ${OPENGL_gl_LIBRARY})