CMakeLists.txt 957 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. PROJECT(CTKVisualizationXIP)
  2. #
  3. # See CTK/CMake/ctkMacroBuildLib.cmake for details
  4. #
  5. SET(KIT_export_directive "CTK_VISUALIZATION_XIP_EXPORT")
  6. # Source files
  7. SET(KIT_SRCS
  8. ctkXIPAdaptor.cpp
  9. ctkXIPAdaptor.h
  10. )
  11. # Headers that should run through moc
  12. SET(KIT_MOC_SRCS
  13. ctkXIPAdaptor.h
  14. )
  15. # UI files
  16. SET(KIT_UI_FORMS
  17. )
  18. # Resources
  19. SET(KIT_resources
  20. )
  21. # Target libraries - See CMake/ctkFunctionGetTargetLibraries.cmake
  22. # The following macro will read the target libraries from the file 'target_libraries.cmake'
  23. ctkFunctionGetTargetLibraries(KIT_target_libraries)
  24. ctkMacroBuildLib(
  25. NAME ${PROJECT_NAME}
  26. EXPORT_DIRECTIVE ${KIT_export_directive}
  27. SRCS ${KIT_SRCS}
  28. MOC_SRCS ${KIT_MOC_SRCS}
  29. UI_FORMS ${KIT_UI_FORMS}
  30. TARGET_LIBRARIES ${KIT_target_libraries}
  31. RESOURCES ${KIT_resources}
  32. LIBRARY_TYPE ${CTK_LIBRARY_MODE}
  33. )
  34. # Plugins
  35. #ADD_SUBDIRECTORY(Plugins)
  36. # Testing
  37. IF(BUILD_TESTING)
  38. #ADD_SUBDIRECTORY(Testing)
  39. ENDIF(BUILD_TESTING)