CMakeLists.txt 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. PROJECT(org_commontk_dah_core)
  2. SET(PLUGIN_export_directive "org_commontk_dah_core_EXPORT")
  3. SET(PLUGIN_SRCS
  4. ctkDicomAppHostingCorePlugin.cpp
  5. ctkDicomAppHostingTypes.h
  6. ctkDicomAppHostingTypesHelper.h
  7. ctkDicomAppInterface.h
  8. ctkDicomExchangeService.cpp
  9. ctkDicomHostInterface.h
  10. ctkDicomServicePrivate.cpp
  11. ctkExchangeSoapMessageProcessor.cpp
  12. ctkSimpleSoapServer.cpp
  13. ctkSoapConnectionRunnable.cpp
  14. ctkSoapMessageProcessorList.cpp
  15. )
  16. # Files which should be processed by Qts moc
  17. SET(PLUGIN_MOC_SRCS
  18. ctkDicomAppHostingCorePlugin_p.h
  19. ctkDicomAppInterface.h
  20. ctkDicomExchangeInterface.h
  21. ctkDicomHostInterface.h
  22. ctkDicomServicePrivate.h
  23. ctkSimpleSoapServer.h
  24. ctkSoapConnectionRunnable_p.h
  25. )
  26. # Qt Designer files which should be processed by Qts uic
  27. SET(PLUGIN_UI_FORMS
  28. )
  29. # QRC Files which should be compiled into the plugin
  30. SET(PLUGIN_resources
  31. Resources/dah_wsdl.qrc
  32. )
  33. #Compute the plugin dependencies
  34. ctkMacroGetTargetLibraries(PLUGIN_target_libraries)
  35. ctkMacroBuildPlugin(
  36. NAME ${PROJECT_NAME}
  37. EXPORT_DIRECTIVE ${PLUGIN_export_directive}
  38. SRCS ${PLUGIN_SRCS}
  39. MOC_SRCS ${PLUGIN_MOC_SRCS}
  40. UI_FORMS ${PLUGIN_UI_FORMS}
  41. RESOURCES ${PLUGIN_resources}
  42. TARGET_LIBRARIES ${PLUGIN_target_libraries}
  43. )