From 673172e3ffb8e345b2bbfb6596ac3d79a1e17f14 Mon Sep 17 00:00:00 2001 From: Orcan Ogetbil Date: Mon, 20 Dec 2010 04:54:36 +0000 Subject: Major cmake cleanup. Please see the ChangeLog. --- muse2/plugins/freeverb/CMakeLists.txt | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) (limited to 'muse2/plugins/freeverb') 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 + ) + -- cgit v1.2.3