summaryrefslogtreecommitdiff
path: root/muse2/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'muse2/plugins')
-rw-r--r--muse2/plugins/doublechorus/CMakeLists.txt25
-rw-r--r--muse2/plugins/freeverb/CMakeLists.txt27
-rw-r--r--muse2/plugins/pandelay/CMakeLists.txt24
3 files changed, 70 insertions, 6 deletions
diff --git a/muse2/plugins/doublechorus/CMakeLists.txt b/muse2/plugins/doublechorus/CMakeLists.txt
index 35d2c42b..04ea864f 100644
--- a/muse2/plugins/doublechorus/CMakeLists.txt
+++ b/muse2/plugins/doublechorus/CMakeLists.txt
@@ -18,10 +18,26 @@
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#=============================================================================
+##
+## List of source files to compile
+##
+file (GLOB doublechorus_source_files
+ doublechorus.cpp
+ doublechorusmodel.cpp
+ simplechorusmodel.cpp
+ )
+
+##
+## Define target
+##
add_library ( doublechorus SHARED
- doublechorus.cpp doublechorusmodel.cpp simplechorusmodel.cpp
+ ${doublechorus_source_files}
)
+
+##
+## Compilation flags and target name
+##
# tell cmake to name the target doublechorus.so instead of
# libdoublechorus.so
#
@@ -30,4 +46,9 @@ set_target_properties (doublechorus
#COMPILE_FLAGS "-O3"
)
-install_targets ( /${CMAKE_INSTALL_LIBDIR}/${MusE_INSTALL_NAME}/plugins doublechorus)
+##
+## Install location
+##
+install( TARGETS doublechorus
+ DESTINATION ${MusE_PLUGINS_DIR}
+ )
diff --git a/muse2/plugins/freeverb/CMakeLists.txt b/muse2/plugins/freeverb/CMakeLists.txt
index 9083099c..da43dc98 100644
--- a/muse2/plugins/freeverb/CMakeLists.txt
+++ b/muse2/plugins/freeverb/CMakeLists.txt
@@ -18,10 +18,24 @@
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#=============================================================================
+##
+## List of source files to compile
+##
+file (GLOB freeverb_source_files
+ freeverb.cpp
+ revmodel.cpp
+ )
+
+##
+## Define target
+##
add_library ( freeverb SHARED
- freeverb.cpp revmodel.cpp
+ ${freeverb_source_files}
)
+##
+## Compilation flags and target name
+##
# tell cmake to name the target freeverb.so instead of
# libfreeverb.so
#
@@ -30,4 +44,13 @@ set_target_properties (freeverb
COMPILE_FLAGS "-O2"
)
-install_targets ( /${CMAKE_INSTALL_LIBDIR}/${MusE_INSTALL_NAME}/plugins freeverb)
+##
+## Install location
+##
+install( TARGETS freeverb
+ DESTINATION ${MusE_PLUGINS_DIR}
+ )
+install( FILES readme.txt
+ DESTINATION ${MusE_DOC_DIR}/freeverb
+ )
+
diff --git a/muse2/plugins/pandelay/CMakeLists.txt b/muse2/plugins/pandelay/CMakeLists.txt
index 6e48a9ea..02900cb3 100644
--- a/muse2/plugins/pandelay/CMakeLists.txt
+++ b/muse2/plugins/pandelay/CMakeLists.txt
@@ -18,10 +18,25 @@
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#=============================================================================
+##
+## List of source files to compile
+##
+file (GLOB pandelay_source_files
+ ladspapandelay.cpp
+ pandelay.cpp
+ pandelaymodel.cpp
+ )
+
+##
+## Define target
+##
add_library ( pandelay SHARED
- pandelay.cpp ladspapandelay.cpp pandelaymodel.cpp
+ ${pandelay_source_files}
)
+##
+## Compilation flags and target name
+##
# tell cmake to name the target pandelay.so instead of
# libpandelay.so
#
@@ -30,4 +45,9 @@ set_target_properties (pandelay
#COMPILE_FLAGS "-O3"
)
-install_targets ( /${CMAKE_INSTALL_LIBDIR}/${MusE_INSTALL_NAME}/plugins pandelay)
+##
+## Install location
+##
+install( TARGETS pandelay
+ DESTINATION ${MusE_PLUGINS_DIR}
+ )