CMakeLists.txt 753 B

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