summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--muse/midiplugins/filter/CMakeLists.txt23
1 files changed, 16 insertions, 7 deletions
diff --git a/muse/midiplugins/filter/CMakeLists.txt b/muse/midiplugins/filter/CMakeLists.txt
index a78026ff..420a6c00 100644
--- a/muse/midiplugins/filter/CMakeLists.txt
+++ b/muse/midiplugins/filter/CMakeLists.txt
@@ -18,23 +18,32 @@
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#=============================================================================
-add_library ( dump SHARED
- dump.cpp
+QT4_WRAP_CPP ( filter_mocs filtergui.h ctrlcombo.h )
+QT4_WRAP_UI ( filter_uis filtergui.ui )
+
+add_library ( filter SHARED
+ filter.cpp
+ filtergui.cpp
+ filtergui.h
+ ctrlcombo.cpp
+ ctrlcombo.h
+ ${filter_mocs}
+ ${filter_uis}
)
-target_link_libraries( dump
+target_link_libraries( filter
midiplugin awl
${QT_LIBRARIES}
)
-# - tell cmake to name target dump.so instead of
-# libdump.so
+# - tell cmake to name target filter.so instead of
+# libfilter.so
# - use precompiled header files
#
-set_target_properties ( dump
+set_target_properties ( filter
PROPERTIES PREFIX ""
COMPILE_FLAGS "-include ${PROJECT_BINARY_DIR}/all-pic.h"
)
-install_targets ( /lib/${MusE_INSTALL_NAME}/midiplugins/ dump )
+install_targets ( /lib/${MusE_INSTALL_NAME}/midiplugins/ filter )