| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199 | project(CTKPluginFramework)## See CTK/CMake/ctkMacroBuildLib.cmake for details#set(KIT_export_directive "CTK_PLUGINFW_EXPORT")# Source filesset(KIT_SRCS  ctkApplicationRunnable.cpp  ctkBasicLocation_p.h  ctkBasicLocation.cpp  ctkDefaultApplicationLauncher_p.h  ctkDefaultApplicationLauncher.cpp  ctkDictionary.h  ctkLDAPExpr.cpp  ctkLDAPExpr_p.h  ctkLDAPSearchFilter.cpp  ctkLocationManager_p.h  ctkLocationManager.cpp  ctkPlugin.cpp  ctkPluginAbstractTracked_p.h  ctkPluginAbstractTracked.tpp  ctkPluginActivator.h  ctkPluginArchive.cpp  ctkPluginArchive_p.h  ctkPluginArchiveSQL_p.h  ctkPluginArchiveSQL.cpp  ctkPluginConstants.cpp  ctkPluginContext.cpp  ctkPluginContext_p.h  ctkPluginDatabaseException.cpp  ctkPluginEvent.cpp  ctkPluginException.cpp  ctkPluginFramework.cpp  ctkPluginFramework_global.h  ctkPluginFrameworkFactory.cpp  ctkPluginFrameworkContext.cpp  ctkPluginFrameworkContext_p.h  ctkPluginFrameworkDebug.cpp  ctkPluginFrameworkDebug_p.h  ctkPluginFrameworkDebugOptions.cpp  ctkPluginFrameworkDebugOptions_p.h  ctkPluginFrameworkEvent.cpp  ctkPluginFrameworkProperties.cpp  ctkPluginFrameworkProperties_p.h  ctkPluginFrameworkLauncher.cpp  ctkPluginFrameworkListeners.cpp  ctkPluginFrameworkListeners_p.h  ctkPluginFramework_p.cpp  ctkPluginFramework_p.h  ctkPluginFrameworkUtil.cpp  ctkPluginFrameworkUtil_p.h  ctkPluginLocalization.cpp  ctkPluginManifest.cpp  ctkPluginManifest_p.h  ctkPlugin_p.cpp  ctkPlugin_p.h  ctkPlugins.cpp  ctkPlugins_p.h  ctkPluginStorage_p.h  ctkPluginStorageSQL.cpp  ctkPluginStorageSQL_p.h  ctkPluginTracker.h  ctkPluginTracker.tpp  ctkPluginTracker_p.h  ctkPluginTracker_p.tpp  ctkRequirePlugin.cpp  ctkRequirePlugin_p.h  ctkServiceEvent.cpp  ctkServiceException.cpp  ctkServiceFactory.h  ctkServiceProperties_p.h  ctkServiceProperties.cpp  ctkServiceReference.cpp  ctkServiceReference_p.cpp  ctkServiceRegistration.cpp  ctkServiceRegistration_p.cpp  ctkServices.cpp  ctkServices_p.h  ctkServiceSlotEntry.cpp  ctkServiceSlotEntry_p.h  ctkServiceTracker.h  ctkServiceTracker.tpp  ctkServiceTrackerCustomizer.h  ctkServiceTracker_p.h  ctkServiceTracker_p.tpp  ctkTrackedPlugin_p.h  ctkTrackedPlugin.tpp  ctkTrackedPluginListener_p.h  ctkTrackedService_p.h  ctkTrackedService.tpp  ctkTrackedServiceListener_p.h  ctkVersion.cpp  ctkVersionRange.cpp  ctkVersionRange_p.h  # Services  service/application/ctkApplicationDescriptor.cpp  service/application/ctkApplicationException.cpp  service/application/ctkApplicationHandle.cpp  service/application/ctkApplicationLauncher.h  service/cm/ctkConfiguration.cpp  service/cm/ctkConfigurationAdmin.cpp  service/cm/ctkConfigurationEvent.cpp  service/cm/ctkConfigurationException.cpp  service/cm/ctkConfigurationListener.h  service/cm/ctkConfigurationPlugin.cpp  service/cm/ctkManagedService.h  service/cm/ctkManagedServiceFactory.h  service/datalocation/ctkLocation.cpp  service/debug/ctkDebugOptions.cpp  service/debug/ctkDebugOptionsListener.h  service/event/ctkEvent.cpp  service/event/ctkEventAdmin.h  service/event/ctkEventConstants.cpp  service/event/ctkEventHandler.h  service/log/ctkLogEntry.h  service/log/ctkLogListener.h  service/log/ctkLogReaderService.h  service/log/ctkLogService.cpp  service/log/ctkLogStream.cpp  service/metatype/ctkAttributeDefinition.cpp  service/metatype/ctkMetaTypeInformation.h  service/metatype/ctkMetaTypeProvider.cpp  service/metatype/ctkMetaTypeService.cpp  service/metatype/ctkObjectClassDefinition.h  )# Headers that should run through mocset(KIT_MOC_SRCS  ctkBasicLocation_p.h  ctkDefaultApplicationLauncher_p.h  ctkPluginFrameworkDebugOptions_p.h  ctkPluginFrameworkListeners_p.h  ctkTrackedPluginListener_p.h  ctkTrackedServiceListener_p.h)# UI filesset(KIT_UI_FORMS)# Resourcesset(KIT_resources)# Target libraries - See CMake/ctkFunctionGetTargetLibraries.cmake# The following macro will read the target libraries from the file 'target_libraries.cmake'ctkFunctionGetTargetLibraries(KIT_target_libraries)if(CTK_QT_VERSION VERSION_GREATER "4")  list(APPEND KIT_target_libraries Qt5::Sql Qt5::Concurrent)endif()# Create a MANIFEST.MF resource for the PluginFramework library,# pretending that is is a plugin (the system plugin)ctkFunctionGeneratePluginManifest(KIT_SRCS  SYMBOLIC_NAME "system.plugin"  VERSION "0.9.9"  )ctkMacroBuildLib(  NAME ${PROJECT_NAME}  EXPORT_DIRECTIVE ${KIT_export_directive}  INCLUDE_DIRECTORIES ${CTK_SUPERBUILD_BINARY_DIR}  SRCS ${KIT_SRCS}  MOC_SRCS ${KIT_MOC_SRCS}  UI_FORMS ${KIT_UI_FORMS}  TARGET_LIBRARIES ${KIT_target_libraries}  RESOURCES ${KIT_resources}  LIBRARY_TYPE ${CTK_LIBRARY_MODE}  )if(CTK_WRAP_PYTHONQT_LIGHT)  ctkMacroBuildLibWrapper(    TARGET ${PROJECT_NAME}    SRCS ${KIT_SRCS}    WRAPPER_LIBRARY_TYPE ${CTK_LIBRARY_MODE}    )endif()# Testingif(BUILD_TESTING)  add_subdirectory(Testing)  # Compile source code snippets  add_subdirectory(Documentation/Snippets)endif()
 |