CMakeLists.txt 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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. ctkDicomAbstractApp.h
  19. )
  20. # Qt Designer files which should be processed by Qts uic
  21. SET(PLUGIN_UI_FORMS
  22. )
  23. # QRC Files which should be compiled into the plugin
  24. SET(PLUGIN_resources
  25. )
  26. #Compute the plugin dependencies
  27. ctkFunctionGetTargetLibraries(PLUGIN_target_libraries)
  28. ctkMacroBuildPlugin(
  29. NAME ${PROJECT_NAME}
  30. INCLUDE_DIRECTORIES ${QTSOAP_INCLUDE_DIR}
  31. EXPORT_DIRECTIVE ${PLUGIN_export_directive}
  32. SRCS ${PLUGIN_SRCS}
  33. MOC_SRCS ${PLUGIN_MOC_SRCS}
  34. UI_FORMS ${PLUGIN_UI_FORMS}
  35. RESOURCES ${PLUGIN_resources}
  36. TARGET_LIBRARIES ${PLUGIN_target_libraries}
  37. )