CMakeLists.txt 998 B

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