CMakeLists.txt 677 B

12345678910111213141516171819202122232425262728293031323334
  1. PROJECT(org_commontk_eventbus)
  2. SET(PLUGIN_export_directive "org_commontk_eventbus_EXPORT")
  3. SET(PLUGIN_SRCS
  4. ctkEventBusImpl.cpp
  5. ctkEventBusPlugin.cpp
  6. )
  7. SET(PLUGIN_MOC_SRCS
  8. ctkEventBusImpl_p.h
  9. ctkEventBusPlugin_p.h
  10. ctkEventHandlerWrapper_p.h
  11. )
  12. SET(PLUGIN_resources
  13. #org_commontk_eventbus.qrc
  14. )
  15. SET(PLUGIN_CACHED_RESOURCEFILES
  16. servicedescriptor.xml
  17. )
  18. ctkFunctionGetTargetLibraries(PLUGIN_target_libraries)
  19. ctkMacroBuildPlugin(
  20. EXPORT_DIRECTIVE ${PLUGIN_export_directive}
  21. SRCS ${PLUGIN_SRCS}
  22. MOC_SRCS ${PLUGIN_MOC_SRCS}
  23. RESOURCES ${PLUGIN_resources}
  24. CACHED_RESOURCEFILES ${PLUGIN_CACHED_RESOURCEFILES}
  25. TARGET_LIBRARIES ${PLUGIN_target_libraries}
  26. )