CMakeLists.txt 957 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. PROJECT(org_commontk_dah_app)
  2. SET(PLUGIN_export_directive "org_commontk_dah_app_EXPORT")
  3. SET(PLUGIN_SRCS
  4. ctkAppSoapMessageProcessor.cpp
  5. ctkDicomAbstractApp.cpp
  6. ctkDicomAppPlugin.cpp
  7. ctkDicomAppPlugin_p.h
  8. ctkDicomAppServer.cpp
  9. ctkDicomAppServer_p.h
  10. ctkDicomHostService.cpp
  11. ctkDicomHostService_p.h
  12. )
  13. # Files which should be processed by Qts moc
  14. SET(PLUGIN_MOC_SRCS
  15. ctkDicomAppPlugin_p.h
  16. ctkDicomAppServer_p.h
  17. ctkDicomHostService_p.h
  18. )
  19. # Qt Designer files which should be processed by Qts uic
  20. SET(PLUGIN_UI_FORMS
  21. )
  22. # QRC Files which should be compiled into the plugin
  23. SET(PLUGIN_resources
  24. )
  25. #Compute the plugin dependencies
  26. ctkFunctionGetTargetLibraries(PLUGIN_target_libraries)
  27. ctkMacroBuildPlugin(
  28. NAME ${PROJECT_NAME}
  29. EXPORT_DIRECTIVE ${PLUGIN_export_directive}
  30. SRCS ${PLUGIN_SRCS}
  31. MOC_SRCS ${PLUGIN_MOC_SRCS}
  32. UI_FORMS ${PLUGIN_UI_FORMS}
  33. RESOURCES ${PLUGIN_resources}
  34. TARGET_LIBRARIES ${PLUGIN_target_libraries}
  35. )