CMakeLists.txt 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. PROJECT(org_commontk_configadmin)
  2. SET(PLUGIN_export_directive "org_commontk_configadmin_EXPORT")
  3. SET(PLUGIN_SRCS
  4. ctkCMEventDispatcher.cpp
  5. ctkCMEventDispatcher_p.h
  6. ctkCMLogTracker.cpp
  7. ctkCMLogTracker_p.h
  8. ctkCMPluginManager.cpp
  9. ctkCMPluginManager_p.h
  10. ctkCMSerializedTaskQueue.cpp
  11. ctkCMSerializedTaskQueue_p.h
  12. ctkConfigurationAdminActivator.cpp
  13. ctkConfigurationAdminActivator_p.h
  14. ctkConfigurationAdminFactory.cpp
  15. ctkConfigurationAdminFactory_p.h
  16. ctkConfigurationAdminImpl.cpp
  17. ctkConfigurationAdminImpl_p.h
  18. ctkConfigurationImpl.cpp
  19. ctkConfigurationImpl_p.h
  20. ctkConfigurationStore.cpp
  21. ctkConfigurationStore_p.h
  22. ctkManagedServiceTracker.cpp
  23. ctkManagedServiceTracker_p.h
  24. ctkManagedServiceFactoryTracker.cpp
  25. ctkManagedServiceFactoryTracker_p.h
  26. )
  27. # Files which should be processed by Qts moc
  28. SET(PLUGIN_MOC_SRCS
  29. ctkCMSerializedTaskQueue_p.h
  30. ctkConfigurationAdminActivator_p.h
  31. ctkConfigurationAdminFactory_p.h
  32. ctkConfigurationAdminImpl_p.h
  33. )
  34. # Qt Designer files which should be processed by Qts uic
  35. SET(PLUGIN_UI_FORMS
  36. )
  37. # QRC Files which should be compiled into the plugin
  38. SET(PLUGIN_resources
  39. )
  40. #Compute the plugin dependencies
  41. ctkMacroGetTargetLibraries(PLUGIN_target_libraries)
  42. ctkMacroBuildPlugin(
  43. NAME ${PROJECT_NAME}
  44. EXPORT_DIRECTIVE ${PLUGIN_export_directive}
  45. SRCS ${PLUGIN_SRCS}
  46. MOC_SRCS ${PLUGIN_MOC_SRCS}
  47. UI_FORMS ${PLUGIN_UI_FORMS}
  48. RESOURCES ${PLUGIN_resources}
  49. TARGET_LIBRARIES ${PLUGIN_target_libraries}
  50. )
  51. # Testing
  52. IF(BUILD_TESTING)
  53. ADD_SUBDIRECTORY(Testing)
  54. ENDIF(BUILD_TESTING)