CMakeLists.txt 886 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. PROJECT(org_commontk_dicom_wg23_host)
  2. SET(PLUGIN_export_directive "org_commontk_dicom_wg23_host_EXPORT")
  3. SET(PLUGIN_SRCS
  4. ctkDicomHostServer.cpp
  5. ctkDicomHostServerPrivate.cpp
  6. ctkDicomWG23HostPlugin.cpp
  7. ctkDicomAbstractHost.cpp
  8. ctkDicomAppService.cpp
  9. )
  10. # Files which should be processed by Qts moc
  11. SET(PLUGIN_MOC_SRCS
  12. ctkDicomHostServerPrivate.h
  13. ctkDicomWG23HostPlugin_p.h
  14. )
  15. # Qt Designer files which should be processed by Qts uic
  16. SET(PLUGIN_UI_FORMS
  17. )
  18. # QRC Files which should be compiled into the plugin
  19. SET(PLUGIN_resources
  20. )
  21. #Compute the plugin dependencies
  22. ctkMacroGetTargetLibraries(PLUGIN_target_libraries)
  23. ctkMacroBuildPlugin(
  24. NAME ${PROJECT_NAME}
  25. EXPORT_DIRECTIVE ${PLUGIN_export_directive}
  26. SRCS ${PLUGIN_SRCS}
  27. MOC_SRCS ${PLUGIN_MOC_SRCS}
  28. UI_FORMS ${PLUGIN_UI_FORMS}
  29. RESOURCES ${PLUGIN_resources}
  30. TARGET_LIBRARIES ${PLUGIN_target_libraries}
  31. )