CMakeLists.txt 875 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. project(org_commontk_dah_exampleapp)
  2. set(PLUGIN_export_directive "org_commontk_example_dicomapp_EXPORT")
  3. set(PLUGIN_SRCS
  4. ctkExampleDicomAppLogic_p.h
  5. ctkExampleDicomAppPlugin_p.h
  6. ctkExampleDicomAppLogic.cpp
  7. ctkExampleDicomAppPlugin.cpp
  8. )
  9. # Files which should be processed by Qts moc
  10. set(PLUGIN_MOC_SRCS
  11. ctkExampleDicomAppLogic_p.h
  12. ctkExampleDicomAppPlugin_p.h
  13. )
  14. # Qt Designer files which should be processed by Qts uic
  15. set(PLUGIN_UI_FORMS
  16. )
  17. # QRC Files which should be compiled into the plugin
  18. set(PLUGIN_resources
  19. )
  20. #Compute the plugin dependencies
  21. ctkFunctionGetTargetLibraries(PLUGIN_target_libraries)
  22. ctkMacroBuildPlugin(
  23. NAME ${PROJECT_NAME}
  24. EXPORT_DIRECTIVE ${PLUGIN_export_directive}
  25. SRCS ${PLUGIN_SRCS}
  26. MOC_SRCS ${PLUGIN_MOC_SRCS}
  27. UI_FORMS ${PLUGIN_UI_FORMS}
  28. RESOURCES ${PLUGIN_resources}
  29. TARGET_LIBRARIES ${PLUGIN_target_libraries}
  30. )