CMakeLists.txt 513 B

1234567891011121314151617181920
  1. if(APPLE)
  2. set(CMAKE_C_FLAGS "-O2 -Wall -Dunix")
  3. else()
  4. if(MINGW)
  5. set(CMAKE_C_FLAGS "-O2 -Wall -DWIN32")
  6. else()
  7. set(CMAKE_C_FLAGS "-O2 -Wall -Dlinux -Dunix")
  8. endif()
  9. endif()
  10. link_directories(../cdp2k ../newsfsys ../pvxio2 )
  11. include_directories(../newinclude)
  12. add_executable(texture main.c ap_texture.c texperm.c texture1.c
  13. texture2.c texture3.c texture4.c texture5.c texprepro.c)
  14. target_link_libraries(texture cdp2k sfsys pvxio2 ${EXTRA_LIBRARIES})
  15. my_install(texture)