CMakeLists.txt 834 B

12345678910111213141516171819202122232425262728293031323334353637
  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. )
  8. # Files which should be processed by Qts moc
  9. SET(PLUGIN_MOC_SRCS
  10. ctkDicomHostServerPrivate.h
  11. ctkDicomWG23HostPlugin_p.h
  12. )
  13. # Qt Designer files which should be processed by Qts uic
  14. SET(PLUGIN_UI_FORMS
  15. )
  16. # QRC Files which should be compiled into the plugin
  17. SET(PLUGIN_resources
  18. )
  19. #Compute the plugin dependencies
  20. ctkMacroGetTargetLibraries(PLUGIN_target_libraries)
  21. ctkMacroBuildPlugin(
  22. NAME ${PROJECT_NAME}
  23. EXPORT_DIRECTIVE ${PLUGIN_export_directive}
  24. SRCS ${PLUGIN_SRCS}
  25. MOC_SRCS ${PLUGIN_MOC_SRCS}
  26. UI_FORMS ${PLUGIN_UI_FORMS}
  27. RESOURCES ${PLUGIN_resources}
  28. TARGET_LIBRARIES ${PLUGIN_target_libraries}
  29. )