PROJECT(org_commontk_eventbus) SET(PLUGIN_export_directive "org_commontk_eventbus_EXPORT") SET(PLUGIN_SRCS ctkEventBusImpl.cxx ctkEventBusPlugin.cxx ) SET(PLUGIN_MOC_SRCS ctkEventBusImpl_p.h ctkEventBusPlugin_p.h ctkEventHandlerWrapper_p.h ) SET(PLUGIN_resources org_commontk_eventbus.qrc ) SET(LIBRARY_OUTPUT_PATH ${LIBRARY_OUTPUT_PATH}/Plugins) ctkMacroGetTargetLibraries(PLUGIN_target_libraries) ctkMacroBuildQtPlugin( NAME ${PROJECT_NAME} EXPORT_DIRECTIVE ${PLUGIN_export_directive} SRCS ${PLUGIN_SRCS} MOC_SRCS ${PLUGIN_MOC_SRCS} RESOURCES ${PLUGIN_resources} TARGET_LIBRARIES ${PLUGIN_target_libraries} )