Commit 9ec96ec5 authored by Ludovic Fauvet's avatar Ludovic Fauvet

cmake: Also build effect plugins

parent f835cbd3
#CMakeQt by Rohit Yadav<rohityadav89@gmail.com>
#CMake Build System for Qt
SUBDIRS(EffectsEngine/Plugins/src)
MACRO(ADD_TRANSLATION_FILES _sources )
FOREACH (_current_FILE ${ARGN})
......
......@@ -24,7 +24,7 @@
#ifndef EFFECTPLUGINTYPEMANAGER_H_
#define EFFECTPLUGINTYPEMANAGER_H_
#define PLUGINS_PATH "./src/EffectsEngine/Plugins/lib/"
#define PLUGINS_PATH "bin/effects/"
#include <QMap>
......
project(BlitInRectangleEffectPlugin)
set(BLITINRECTANGLE_SRCS BlitInRectangleEffectPlugin.cpp BlitInRectangleEffectPluginCreator.cpp)
qt4_automoc(${BLITINRECTANGLE_SRCS})
ADD_DEFINITIONS(${QT_DEFINITIONS})
ADD_DEFINITIONS(-DQT_PLUGIN)
ADD_DEFINITIONS(-DQT_NO_DEBUG)
ADD_DEFINITIONS(-DQT_SHARED)
ADD_LIBRARY(BlitInRectangleEffectPlugin SHARED ${BLITINRECTANGLE_SRCS})
target_link_libraries(BlitInRectangleEffectPlugin ${QT_LIBRARIES})
INCLUDE_DIRECTORIES(${QT_INCLUDE_DIR} ../../../PluginsAPI)
#install(TARGETS mixereffect DESTINATION lib/kde4/plugins/styles)
SET (LIBRARY_OUTPUT_PATH ${CMAKE_SOURCE_DIR}/bin/effects/)
SUBDIRS(BlitInRectangle)
SUBDIRS(GreenFilterEffect)
SUBDIRS(InvertRNBEffect)
SUBDIRS(MixerEffect)
project(GreenFilterEffectPlugin)
set(GREENFILTEREFFECT_SRCS GreenFilterEffectPlugin.cpp GreenFilterEffectPluginCreator.cpp)
qt4_automoc(${GREENFILTEREFFECT_SRCS})
ADD_DEFINITIONS(${QT_DEFINITIONS})
ADD_DEFINITIONS(-DQT_PLUGIN)
ADD_DEFINITIONS(-DQT_NO_DEBUG)
ADD_DEFINITIONS(-DQT_SHARED)
ADD_LIBRARY(GreenFilterEffectPlugin SHARED ${GREENFILTEREFFECT_SRCS})
target_link_libraries(GreenFilterEffectPlugin ${QT_LIBRARIES})
INCLUDE_DIRECTORIES(${QT_INCLUDE_DIR} ../../../PluginsAPI)
#install(TARGETS mixereffect DESTINATION lib/kde4/plugins/styles)
project(InvertRNBEffectPlugin)
set(INVERTRNBEFFECT_SRCS InvertRNBEffectPlugin.cpp InvertRNBEffectPluginCreator.cpp)
qt4_automoc($INVERTRNBEFFECT_SRCS})
ADD_DEFINITIONS(${QT_DEFINITIONS})
ADD_DEFINITIONS(-DQT_PLUGIN)
ADD_DEFINITIONS(-DQT_NO_DEBUG)
ADD_DEFINITIONS(-DQT_SHARED)
ADD_LIBRARY(InvertRNBEffectPlugin SHARED ${INVERTRNBEFFECT_SRCS})
target_link_libraries(InvertRNBEffectPlugin ${QT_LIBRARIES})
INCLUDE_DIRECTORIES(${QT_INCLUDE_DIR} ../../../PluginsAPI)
#install(TARGETS mixereffect DESTINATION lib/kde4/plugins/styles)
project(MixerEffectPlugin)
set(MIXEREFFECT_SRCS MixerEffectPlugin.cpp MixerEffectPluginCreator.cpp)
qt4_automoc(${MIXEREFFECT_SRCS})
ADD_DEFINITIONS(${QT_DEFINITIONS})
ADD_DEFINITIONS(-DQT_PLUGIN)
ADD_DEFINITIONS(-DQT_NO_DEBUG)
ADD_DEFINITIONS(-DQT_SHARED)
ADD_LIBRARY(MixerEffectPlugin SHARED ${MIXEREFFECT_SRCS})
target_link_libraries(MixerEffectPlugin ${QT_LIBRARIES})
INCLUDE_DIRECTORIES(${QT_INCLUDE_DIR} ../../../PluginsAPI)
#install(TARGETS mixereffect DESTINATION lib/kde4/plugins/styles)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment