Commit f835cbd3 authored by Ludovic Fauvet's avatar Ludovic Fauvet

New cmake build system

parent cddc2c54
#Forking CMakeQt by Rohit Yadav<rohityadav89@gmail.com>
#CMake Build System for Qt Project: VLMC
#Edit as per needs...
#Project Info
SET(CPACK_PACKAGE_VERSION_MAJOR "0")
SET(CPACK_PACKAGE_VERSION_MINOR "0")
SET(CPACK_PACKAGE_VERSION_PATCH "1")
SET(COMPLETE_VERSION ${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH})
#Codename of the Project :-)
SET(RELEASE_NAME "Alpha")
# version: 0.0.1
SET(PROJECT_VERSION ${COMPLETE_VERSION})
#Name of the project
PROJECT(vlmc${PROJECT_VERSION})
#CMake Settings
CMAKE_MINIMUM_REQUIRED(VERSION 2.6.0)
SET(CMAKE_COLOR_MAKEFILE ON)
SET(CMAKE_VERBOSE_MAKEFILE OFF)
# set path to additional CMake modules
SET(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake ${CMAKE_MODULE_PATH})
# Optionally allow embedding libvlc into the binary as
# VLMC requires libVLC
SET (WITH_LIBVLC FALSE CACHE BOOL "Compile LibVLC in VLMC")
FIND_PACKAGE(LIBVLC)
IF (NOT LIBVLC_FOUND)
MESSAGE (SEND_ERROR "LibVLC dependency was not found (please get libvlc)!")
ENDIF (NOT LIBVLC_FOUND)
INCLUDE_DIRECTORIES(${LIBVLC_INCLUDE_DIR})
# search for Qt4
FIND_PACKAGE(Qt4 REQUIRED)
SET( QT_USE_QTXML TRUE )
SET( QT_USE_QTNETWORK TRUE )
SET( QT_USE_QTSVG TRUE )
SET( QT_USE_QTXML TRUE )
IF (ENABLE_TESTS)
SET( QT_USE_QTTEST TRUE )
ENABLE_TESTING()
ENDIF (ENABLE_TESTS)
INCLUDE( ${QT_USE_FILE} )
ADD_DEFINITIONS(${QT_DEFINITIONS})
# layout of VLMC installation
# (default values are platform-specific)
SET (EXECUTABLE_OUTPUT_PATH ${CMAKE_SOURCE_DIR}/bin/)
# common for MAC and UNIX
SET (DEFAULT_BIN_SUBDIR bin)
SET (DEFAULT_LIB_SUBDIR lib)
SET (DEFAULT_DATA_SUBDIR share)
SET (DEFAULT_SRC_SUBDIR src)
SET (DEFAULT_INCLUDE_SUBDIR include)
SET (VLMC_BIN_SUBDIR ${DEFAULT_BIN_SUBDIR} CACHE STRING "Subdirectory where executables will be installed")
SET (VLMC_LIB_SUBDIR ${DEFAULT_LIB_SUBDIR} CACHE STRING "Subdirectory where libraries will be installed")
SET (VLMC_DATA_SUBDIR ${DEFAULT_DATA_SUBDIR} CACHE STRING "Subdirectory where VLMC data will be installed")
SET (VLMC_SRC_SUBDIR ${DEFAULT_SRC_SUBDIR} CACHE STRING "Subdirectory where VLMC source is")
SET (VLMC_INCLUDE_SUBDIR ${DEFAULT_INCLUDE_SUBDIR} CACHE STRING "Subdirectory where header files will be installed")
# full paths for the installation
SET (VLMC_BIN_DIR ${VLMC_BIN_SUBDIR})
SET (VLMC_LIB_DIR ${VLMC_LIB_SUBDIR})
SET (VLMC_DATA_DIR ${VLMC_DATA_SUBDIR})
SET (VLMC_PLUGIN_DIR ${VLMC_PLUGIN_SUBDIR})
SET (VLMC_INCLUDE_DIR ${VLMC_INCLUDE_SUBDIR})
# manual page - makes sense only on unix systems
IF (UNIX)
SET (DEFAULT_MANUAL_SUBDIR man)
SET (VLMC_MANUAL_SUBDIR ${DEFAULT_MANUAL_SUBDIR} CACHE STRING "Subdirectory where manual files will be installed")
MARK_AS_ADVANCED (VLMC_MANUAL_SUBDIR)
SET (VLMC_MANUAL_DIR ${CMAKE_INSTALL_PREFIX}/${VLMC_MANUAL_SUBDIR})
ENDIF (UNIX)
SUBDIRS(launcher)
SUBDIRS(src)
#Copy stuff to doc subdirectory
INSTALL (FILES AUTHORS COPYING INSTALL NEWS README TRANSLATORS
DESTINATION ${VLMC_DATA_DIR}/doc)
#############################################################
# Enable packaging
INCLUDE(InstallRequiredSystemLibraries)
SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "VLMC")
SET(CPACK_PACKAGE_VENDOR "VLMC Team")
SET(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/README")
SET(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/COPYING")
SET(CPACK_PACKAGE_INSTALL_DIRECTORY "VLMC ${COMPLETE_VERSION}")
IF(WIN32 AND NOT UNIX)
# There is a bug in NSI that does not handle full unix paths properly. Make
# sure there is at least one set of four (4) backslashes.
SET(CPACK_PACKAGE_ICON "${CMAKE_SOURCE_DIR}/share\\\\vlmc.png")
SET(CPACK_NSIS_INSTALLED_ICON_NAME "\\\\vlmc.exe")
SET(CPACK_NSIS_DISPLAY_NAME "${CPACK_PACKAGE_INSTALL_DIRECTORY} VLMC")
SET(CPACK_NSIS_HELP_LINK "http:\\\\\\\\vlmc.org")
SET(CPACK_NSIS_URL_INFO_ABOUT "http:\\\\\\\\vlmc.org")
SET(CPACK_NSIS_CONTACT "vlmc-devel@vlmc.org")
SET(CPACK_NSIS_MODIFY_PATH ON)
# SET(CPACK_NSIS_EXTRA_INSTALL_COMMANDS " !include \\\"${CMAKE_SOURCE_DIR}\\\\win_build\\\\extra.nsh\\\"")
ELSE(WIN32 AND NOT UNIX)
#SET(CPACK_STRIP_FILES "VLMC")
#SET(CPACK_SOURCE_STRIP_FILES "")
ENDIF(WIN32 AND NOT UNIX)
SET(CPACK_PACKAGE_EXECUTABLES "vlmc" "VLMC")
INCLUDE(CPack)
# CMake module to search for LIBVLC (VLC library)
# Author: Rohit Yadav <rohityadav89@gmail.com>
#
# If it's found it sets LIBVLC_FOUND to TRUE
# and following variables are set:
# LIBVLC_INCLUDE_DIR
# LIBVLC_LIBRARY
# FIND_PATH and FIND_LIBRARY normally search standard locations
# before the specified paths. To search non-standard paths first,
# FIND_* is invoked first with specified paths and NO_DEFAULT_PATH
# and then again with no specified paths to search the default
# locations. When an earlier FIND_* succeeds, subsequent FIND_*s
# searching for the same item do nothing.
#Put here path to custom location
#example: /home/user/vlc/include etc..
FIND_PATH(LIBVLC_INCLUDE_DIR vlc.h
"$ENV{LIB_DIR}/include"
"$ENV{LIB_DIR}/include/vlc"
"/usr/include/vlc"
"/usr/local/include/vlc"
"/home/etix/dev/vlc/include/vlc/"
#mingw
c:/msys/local/include
NO_DEFAULT_PATH
)
FIND_PATH(LIBVLC_INCLUDE_DIR vlc.h)
#Put here path to custom location
#example: /home/user/vlc/lib etc..
FIND_LIBRARY(LIBVLC_LIBRARY NAMES vlc PATHS
"$ENV{LIB_DIR}/lib"
"/home/etix/dev/vlc/build/src/.libs"
#mingw
c:/msys/local/lib
NO_DEFAULT_PATH
)
FIND_LIBRARY(LIBVLC_LIBRARY NAMES vlc)
IF (LIBVLC_INCLUDE_DIR AND LIBVLC_LIBRARY)
SET(LIBVLC_FOUND TRUE)
ENDIF (LIBVLC_INCLUDE_DIR AND LIBVLC_LIBRARY)
IF (LIBVLC_FOUND)
IF (NOT LIBVLC_FIND_QUIETLY)
MESSAGE(STATUS "Found LibVLC include-dir path: ${LIBVLC_INCLUDE_DIR}")
MESSAGE(STATUS "Found LibVLC library path:${LIBVLC_LIBRARY}")
ENDIF (NOT LIBVLC_FIND_QUIETLY)
ELSE (LIBVLC_FOUND)
IF (LIBVLC_FIND_REQUIRED)
MESSAGE(FATAL_ERROR "Could not find LibVLC")
ENDIF (LIBVLC_FIND_REQUIRED)
ENDIF (LIBVLC_FOUND)
SET(LAUNCHER_SRCS main.cpp Launcher.cpp)
SET (LAUNCHER_HDRS Launcher.h)
INCLUDE_DIRECTORIES(
${CMAKE_CURRENT_BINARY_DIR}
.
)
QT4_ADD_RESOURCES(LAUNCHER_RCC_SRCS ${LAUNCHER_RCC})
QT4_WRAP_CPP(LAUNCHER_MOC_SRCS ${LAUNCHER_HDRS})
ADD_EXECUTABLE(launcher ${LAUNCHER_SRCS} ${LAUNCHER_MOC_SRCS} ${LAUNCHER_RCC_SRCS})
TARGET_LINK_LIBRARIES(launcher ${QT_QTCORE_LIBRARY})
INSTALL(FILES launcher RUNTIME DESTINATION ${VLMC_BIN_DIR})
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_SOURCE_DIR}/bin/launcher
COMMAND ${CMAKE_COMMAND} copy ${CMAKE_CURRENT_SOURCE_DIR}/launcher ${CMAKE_SOURCE_DIR}/bin/launcher
DEPENDS ${CMAKE_BINARY_DIR}/src/launcher
)
# -------------------------------------------------
# Project created by QtCreator 2009-12-19T17:24:19
# -------------------------------------------------
QT -= gui
TARGET = launcher
DESTDIR = ../bin
CONFIG += console
CONFIG -= app_bundle
TEMPLATE = app
SOURCES += main.cpp \
Launcher.cpp
HEADERS += Launcher.h
!isEmpty(TRANSLATIONS)
{
isEmpty(QMAKE_LRELEASE)
{
win32:QMAKE_LRELEASE = $$[QT_INSTALL_BINS]\lrelease.exe
else:QMAKE_LRELEASE = $$[QT_INSTALL_BINS]/lrelease
}
isEmpty(TS_DIR):TS_DIR = Translations
TSQM.name = lrelease ${QMAKE_FILE_IN}
TSQM.input = TRANSLATIONS
TSQM.output = $$TS_DIR/${QMAKE_FILE_BASE}.qm
TSQM.commands = $$QMAKE_LRELEASE ${QMAKE_FILE_IN}
TSQM.CONFIG = no_link
QMAKE_EXTRA_COMPILERS += TSQM
PRE_TARGETDEPS += compiler_TSQM_make_all
}
QT -= gui
TARGET = Skeleton_effect
CONFIG += dll
CONFIG -= app_bundle
TEMPLATE = lib
SOURCES += Skeleton.cpp
HEADER += Skeleton.h
QT -= core gui
TARGET = sample_module
CONFIG += dll
CONFIG -= app_bundle
TEMPLATE = lib
DEFINES += VLMC_MODULE
SOURCES += main.cpp
#CMakeQt by Rohit Yadav<rohityadav89@gmail.com>
#CMake Build System for Qt
MACRO(ADD_TRANSLATION_FILES _sources )
FOREACH (_current_FILE ${ARGN})
GET_FILENAME_COMPONENT(_in ${_current_FILE} ABSOLUTE)
GET_FILENAME_COMPONENT(_basename ${_current_FILE} NAME_WE)
SET(_out ${CMAKE_SOURCE_DIR}/ts/${_basename}.qm)
ADD_CUSTOM_COMMAND(
OUTPUT ${_out}
COMMAND ${QT_LRELEASE_EXECUTABLE}
ARGS -verbose ${_in} -qm ${_out}
DEPENDS ${_in}
)
SET(${_sources} ${${_sources}} ${_out} )
ENDFOREACH (_current_FILE)
ENDMACRO(ADD_TRANSLATION_FILES)
FILE (GLOB TS_FILES ${CMAKE_SOURCE_DIR}/ts/*.ts)
ADD_TRANSLATION_FILES (VLMC_QM ${TS_FILES})
# creating a custom target is needed to make the files build
# "ALL" means that it will be run by default
ADD_CUSTOM_TARGET (translations ALL
DEPENDS ${VLMC_QM})
SET(VLMC_SRCS
main.cpp
Actions/ActionStack.cpp
Actions/StackedAction.hpp
API/Module.cpp
API/ModuleManager.cpp
API/vlmc_module_variables.cpp
Commands/Commands.cpp
Commands/KeyboardShortcutHelper.cpp
Configuration/ProjectSettingsDefault.cpp
Configuration/SettingsManager.cpp
Configuration/SettingValue.cpp
Configuration/VLMCSettingsDefault.cpp
EffectsEngine/EffectNode.cpp
EffectsEngine/EffectNodeFactory.cpp
EffectsEngine/EffectPluginTypeLoader.cpp
EffectsEngine/EffectPluginTypeManager.cpp
EffectsEngine/EffectsEngine.cpp
EffectsEngine/SemanticObjectManager.hpp
EffectsEngine/SimpleObjectsReferencer.hpp
EffectsEngine/PluginsAPI/InSlot.hpp
EffectsEngine/PluginsAPI/LightVideoFrame.cpp
EffectsEngine/PluginsAPI/OutSlot.hpp
Gui/About.cpp
Gui/AudioSpectrumDrawer.cpp
Gui/ClickableLabel.cpp
Gui/ClipProperty.cpp
Gui/DockWidgetManager.cpp
Gui/FileInfoListModel.cpp
Gui/LanguagePreferences.cpp
Gui/LCDTimecode.cpp
Gui/MainWindow.cpp
Gui/PreviewRuler.cpp
Gui/PreviewWidget.cpp
Gui/TagWidget.cpp
Gui/UndoStack.cpp
Gui/WorkflowFileRendererDialog.cpp
Gui/import/ImportController.cpp
Gui/import/ImportMediaCellView.cpp
Gui/import/ImportMediaListController.cpp
Gui/import/ImportModel.cpp
Gui/library/ClipListViewController.cpp
Gui/library/ListViewController.cpp
Gui/library/MediaCellView.cpp
Gui/library/MediaLibraryWidget.cpp
Gui/library/MediaListViewController.cpp
Gui/library/StackViewController.cpp
Gui/library/StackViewNavController.cpp
Gui/settings/AudioProjectPreferences.cpp
Gui/settings/KeyboardShortcut.cpp
Gui/settings/KeyboardShortcutInput.cpp
Gui/settings/Panel.cpp
Gui/settings/PreferenceWidget.cpp
Gui/settings/ProjectPreferences.cpp
Gui/settings/Settings.cpp
Gui/settings/VideoProjectPreferences.cpp
Gui/settings/VLMCPreferences.cpp
Gui/timeline/AbstractGraphicsMediaItem.cpp
Gui/timeline/GraphicsAudioItem.cpp
Gui/timeline/GraphicsCursorItem.cpp
Gui/timeline/GraphicsMovieItem.cpp
Gui/timeline/GraphicsTrack.hpp
Gui/timeline/Timeline.cpp
Gui/timeline/TracksControls.cpp
Gui/timeline/TracksRuler.cpp
Gui/timeline/TracksScene.cpp
Gui/timeline/TracksView.cpp
Gui/widgets/CrashHandler.cpp
Gui/widgets/TrackControls.cpp
Gui/wizard/CustomWizardPage.cpp
Gui/wizard/GeneralPage.cpp
Gui/wizard/OpenPage.cpp
Gui/wizard/ProjectWizard.cpp
Gui/wizard/VideoPage.cpp
Gui/wizard/WelcomePage.cpp
Library/Library.cpp
LibVLCpp/VLCException.cpp
LibVLCpp/VLCInstance.cpp
LibVLCpp/VLCMedia.cpp
LibVLCpp/VLCMediaPlayer.cpp
LibVLCpp/VLCpp.hpp
Media/Clip.cpp
Media/Media.cpp
Metadata/MetaDataManager.cpp
Metadata/MetaDataWorker.cpp
Project/ProjectManager.cpp
Renderer/ClipRenderer.cpp
Renderer/WorkflowFileRenderer.cpp
Renderer/WorkflowRenderer.cpp
Tools/Pool.hpp
Tools/QSingleton.hpp
Tools/Singleton.hpp
Tools/Toggleable.hpp
Tools/VlmcDebug.cpp
Tools/WaitCondition.hpp
Workflow/AudioClipWorkflow.cpp
Workflow/ClipWorkflow.cpp
Workflow/ImageClipWorkflow.cpp
Workflow/MainWorkflow.cpp
Workflow/TrackHandler.cpp
Workflow/TrackWorkflow.cpp
Workflow/VideoClipWorkflow.cpp
)
SET (VLMC_HDRS
Commands/KeyboardShortcutHelper.h
Configuration/SettingsManager.h
Configuration/SettingValue.h
Gui/About.h
Gui/ClickableLabel.h
Gui/ClipProperty.h
Gui/DockWidgetManager.h
Gui/FileInfoListModel.h
Gui/import/ImportController.h
Gui/import/ImportMediaCellView.h
Gui/import/ImportMediaListController.h
Gui/import/ImportModel.h
Gui/LanguagePreferences.h
Gui/LCDTimecode.h
Gui/library/ClipListViewController.h
Gui/library/ListViewController.h
Gui/library/MediaCellView.h
Gui/library/MediaLibraryWidget.h
Gui/library/MediaListViewController.h
Gui/library/StackViewController.h
Gui/library/StackViewNavController.h
Gui/library/ViewController.h
Gui/MainWindow.h
Gui/PreviewRuler.h
Gui/PreviewWidget.h
Gui/settings/KeyboardShortcut.h
Gui/settings/KeyboardShortcutInput.h
Gui/settings/Panel.h
Gui/settings/PreferenceWidget.h
Gui/settings/Settings.h
Gui/settings/VLMCPreferences.h
Gui/TagWidget.h
Gui/timeline/AbstractGraphicsMediaItem.h
Gui/timeline/GraphicsAudioItem.h
Gui/timeline/GraphicsCursorItem.h
Gui/timeline/GraphicsMovieItem.h
Gui/timeline/GraphicsTrack.hpp
Gui/timeline/Timeline.h
Gui/timeline/TracksControls.h
Gui/timeline/TracksRuler.h
Gui/timeline/TracksScene.h
Gui/timeline/TracksView.h
Gui/UndoStack.h
Gui/widgets/CrashHandler.h
Gui/widgets/TrackControls.h
Gui/wizard/CustomWizardPage.h
Gui/wizard/GeneralPage.h
Gui/wizard/OpenPage.h
Gui/wizard/ProjectWizard.h
Gui/wizard/VideoPage.h
Gui/wizard/WelcomePage.h
Gui/WorkflowFileRendererDialog.h
Library/Library.h
LibVLCpp/VLCMediaPlayer.h
Media/Clip.h
Media/Media.h
Metadata/MetaDataManager.h
Metadata/MetaDataWorker.h
Project/ProjectManager.h
Renderer/ClipRenderer.h
Renderer/GenericRenderer.h
Renderer/WorkflowFileRenderer.h
Renderer/WorkflowRenderer.h
Tools/VlmcDebug.h
Workflow/ClipWorkflow.h
Workflow/MainWorkflow.h
Workflow/TrackHandler.h
Workflow/TrackWorkflow.h
)
SET(VLMC_UIS
Gui/import/ui/ImportController.ui
Gui/library/StackViewNavController.ui
Gui/library/ui/MediaCellView.ui
Gui/library/ui/StackViewNavController.ui
Gui/settings/ui/AudioProjectPreferences.ui
Gui/settings/ui/LanguagePreferences.ui
Gui/settings/ui/ProjectPreferences.ui
Gui/settings/ui/VideoProjectPreferences.ui
Gui/settings/ui/VLMCPreferences.ui
Gui/ui/About.ui
Gui/ui/ClipProperty.ui
Gui/ui/FileBrowser.ui
Gui/ui/LibraryWidget.ui
Gui/ui/MainWindow.ui
Gui/ui/PreviewWidget.ui
Gui/ui/TagWidget.ui
Gui/ui/Timeline.ui
Gui/ui/transcode.ui
Gui/ui/WorkflowFileRendererDialog.ui
Gui/widgets/CrashHandler.ui
Gui/widgets/TrackControls.ui
Gui/wizard/ui/GeneralPage.ui
Gui/wizard/ui/OpenPage.ui
Gui/wizard/ui/VideoPage.ui
Gui/wizard/ui/WelcomePage.ui
)
SET(VLMC_RCC
../ressources.qrc
../ressources-ts.qrc
)
#include paths for vlmc
INCLUDE_DIRECTORIES(
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_BINARY_DIR}/src
.
Actions
API
Commands
Configuration
EffectsEngine
EffectsEngine/PluginsAPI
Gui
Gui/import
Gui/library
Gui/settings
Gui/timeline
Gui/widgets
Gui/wizard
Library
LibVLCpp
Media
Metadata
Project
Renderer
Tools
Workflow
)
QT4_WRAP_UI(VLMC_UIS_H ${VLMC_UIS})
QT4_ADD_RESOURCES(VLMC_RCC_SRCS ${VLMC_RCC})
QT4_WRAP_CPP(VLMC_MOC_SRCS ${VLMC_HDRS})
ADD_EXECUTABLE(vlmc ${VLMC_SRCS} ${VLMC_MOC_SRCS} ${VLMC_UIS_H} ${VLMC_RCC_SRCS})
TARGET_LINK_LIBRARIES(vlmc
${QT_QTCORE_LIBRARY}
${QT_QTGUI_LIBRARY}
${QT_QTXML_LIBRARY}
${QT_QTSVG_LIBRARY}
${QT_QTNETWORK_LIBRARY}
${LIBVLC_LIBRARY}
)
#INSTALL(FILES ${VLMC_SRC_HDRS} DESTINATION ${VLMC_INCLUDE_DIR})
#INSTALL(FILES vlmc DESTINATION ${VLMC_BIN_DIR})
INSTALL(FILES vlmc RUNTIME DESTINATION ${VLMC_BIN_DIR})
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_SOURCE_DIR}/bin/vlmc
COMMAND ${CMAKE_COMMAND} copy ${CMAKE_CURRENT_SOURCE_DIR}/vlmc ${CMAKE_SOURCE_DIR}/bin/vlmc
DEPENDS ${CMAKE_BINARY_DIR}/src/vlmc
)
include(../../../PluginsAPI/PluginsAPI.pri)
INCLUDEPATH += ../../../PluginsAPI
DEPENDPATH += ../../../PluginsAPI
TARGET = VLMC_BlitInRectangleEffectPlugin
TEMPLATE = lib
CONFIG += plugin
HEADERS += BlitInRectangleEffectPlugin.h \
BlitInRectangleEffectPluginCreator.h
SOURCES += BlitInRectangleEffectPlugin.cpp \
BlitInRectangleEffectPluginCreator.cpp
DESTDIR = ../../lib
include(../../../PluginsAPI/PluginsAPI.pri)
INCLUDEPATH += ../../../PluginsAPI
DEPENDPATH += ../../../PluginsAPI
TARGET = VLMC_GreenFilterEffectPlugin
TEMPLATE = lib
CONFIG += plugin
HEADERS += GreenFilterEffectPlugin.h \
GreenFilterEffectPluginCreator.h
SOURCES += GreenFilterEffectPlugin.cpp \
GreenFilterEffectPluginCreator.cpp
DESTDIR = ../../lib
include(../../../PluginsAPI/PluginsAPI.pri)
INCLUDEPATH += ../../../PluginsAPI
DEPENDPATH += ../../../PluginsAPI
TARGET = VLMC_InvertRNBEffectPlugin
TEMPLATE = lib
CONFIG += plugin
HEADERS += InvertRNBEffectPlugin.h \
InvertRNBEffectPluginCreator.h
SOURCES += InvertRNBEffectPlugin.cpp \
InvertRNBEffectPluginCreator.cpp
DESTDIR = ../../lib
include(../../../PluginsAPI/PluginsAPI.pri)
INCLUDEPATH += ../../../PluginsAPI
DEPENDPATH += ../../../PluginsAPI
TARGET = VLMC_MixerEffectPlugin
TEMPLATE = lib
CONFIG += plugin
HEADERS += MixerEffectPlugin.h \
MixerEffectPluginCreator.h
SOURCES += MixerEffectPlugin.cpp \
MixerEffectPluginCreator.cpp
DESTDIR = ../../lib
TEMPLATE = subdirs
DEPENDPATH += MixerEffect \
BlitInRectangle \
GreenFilterEffect \
InvertRNBEffect
SUBDIRS = MixerEffect \
BlitInRectangle \
GreenFilterEffect \
InvertRNBEffect
!contains(QT_MAJOR_VERSION, 4) {
error( "Unsupported Qt version $$QT_VERSION found. Requires at least Qt 4.5" )
}
!contains( QT_MINOR_VERSION, 5 ) {
!contains( QT_MINOR_VERSION, 6 ) {
error( "Unsupported Qt version $$QT_VERSION found. Requires at least Qt 4.5" )
}
}
TEMPLATE = subdirs
SUBDIRS = src \
launcher \
src/EffectsEngine/Plugins/src/src.pro
CONFIG += ordered
DEPENDPATH += src \
launcher \
src/EffectsEngine/Plugins/src/src.pro
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