CMakeLists.txt 1.2 KB

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