commit 93ce69a675c3a193a02d27e6f58c2c80d906bcf8 parent 6db71d7d83cb0ba81547f4bee9eca6521add6978 Author: falkTX <falktx@gmail.com> Date: Sun, 13 Dec 2015 17:08:59 +0100 Add cmake files for AlienWah plugin build Diffstat:
M | src/CMakeLists.txt | | | 1 | + |
A | src/Plugin/AlienWah/CMakeLists.txt | | | 11 | +++++++++++ |
A | src/Plugin/CMakeLists.txt | | | 2 | ++ |
3 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt @@ -387,6 +387,7 @@ add_subdirectory(Effects) add_subdirectory(Params) add_subdirectory(DSP) add_subdirectory(Nio) +add_subdirectory(Plugin) add_library(zynaddsubfx_core STATIC globals.cpp diff --git a/src/Plugin/AlienWah/CMakeLists.txt b/src/Plugin/AlienWah/CMakeLists.txt @@ -0,0 +1,11 @@ + +include_directories(${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_SOURCE_DIR}/DPF/distrho .) + +add_library(ZynAlienWah_lv2 SHARED ${CMAKE_SOURCE_DIR}/DPF/distrho/DistrhoPluginMain.cpp AlienWah.cpp) +add_library(ZynAlienWah_vst SHARED ${CMAKE_SOURCE_DIR}/DPF/distrho/DistrhoPluginMain.cpp AlienWah.cpp) + +set_target_properties(ZynAlienWah_lv2 PROPERTIES COMPILE_DEFINITIONS "DISTRHO_PLUGIN_TARGET_LV2") +set_target_properties(ZynAlienWah_vst PROPERTIES COMPILE_DEFINITIONS "DISTRHO_PLUGIN_TARGET_VST") + +target_link_libraries(ZynAlienWah_lv2 zynaddsubfx_core ${OS_LIBRARIES}) +target_link_libraries(ZynAlienWah_vst zynaddsubfx_core ${OS_LIBRARIES}) diff --git a/src/Plugin/CMakeLists.txt b/src/Plugin/CMakeLists.txt @@ -0,0 +1,2 @@ + +add_subdirectory(AlienWah)