CMakeLists.txt 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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. ctkConfigurationEventAdapter_p.h
  19. ctkConfigurationEventAdapter.cpp
  20. ctkConfigurationImpl.cpp
  21. ctkConfigurationImpl_p.h
  22. ctkConfigurationStore.cpp
  23. ctkConfigurationStore_p.h
  24. ctkManagedServiceTracker.cpp
  25. ctkManagedServiceTracker_p.h
  26. ctkManagedServiceFactoryTracker.cpp
  27. ctkManagedServiceFactoryTracker_p.h
  28. )
  29. # Files which should be processed by Qts moc
  30. set(PLUGIN_MOC_SRCS
  31. ctkCMSerializedTaskQueue_p.h
  32. ctkConfigurationAdminActivator_p.h
  33. ctkConfigurationAdminFactory_p.h
  34. ctkConfigurationAdminImpl_p.h
  35. ctkConfigurationEventAdapter_p.h
  36. )
  37. # Qt Designer files which should be processed by Qts uic
  38. set(PLUGIN_UI_FORMS
  39. )
  40. # QRC Files which should be compiled into the plugin
  41. set(PLUGIN_resources
  42. )
  43. #Compute the plugin dependencies
  44. ctkFunctionGetTargetLibraries(PLUGIN_target_libraries)
  45. ctkMacroBuildPlugin(
  46. NAME ${PROJECT_NAME}
  47. EXPORT_DIRECTIVE ${PLUGIN_export_directive}
  48. SRCS ${PLUGIN_SRCS}
  49. MOC_SRCS ${PLUGIN_MOC_SRCS}
  50. UI_FORMS ${PLUGIN_UI_FORMS}
  51. RESOURCES ${PLUGIN_resources}
  52. TARGET_LIBRARIES ${PLUGIN_target_libraries}
  53. )
  54. # Testing
  55. if(BUILD_TESTING)
  56. add_subdirectory(Testing)
  57. endif()