CMakeLists.txt 1.5 KB

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