CMakeLists.txt 718 B

12345678910111213141516171819202122232425262728293031323334
  1. project(org_commontk_log4qt)
  2. set(PLUGIN_export_directive "org_commontk_log4qt_EXPORT")
  3. set(PLUGIN_SRCS
  4. ctkLog4QtPlugin.cpp
  5. )
  6. # Files which should be processed by Qts moc
  7. set(PLUGIN_MOC_SRCS
  8. ctkLog4QtPlugin_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. ctkFunctionGetTargetLibraries(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. )