CMakeLists.txt 720 B

1234567891011121314151617181920212223242526272829303132333435
  1. PROJECT(pluginSL3_test)
  2. SET(PLUGIN_export_directive "pluginSL3_test_EXPORT")
  3. SET(PLUGIN_SRCS
  4. ctkActivatorSL3.cpp
  5. )
  6. # Files which should be processed by Qts moc
  7. SET(PLUGIN_MOC_SRCS
  8. ctkActivatorSL3_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. TEST_PLUGIN
  27. )