CMakeLists.txt 1.5 KB

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