summaryrefslogtreecommitdiff
path: root/muse2/synti/organ
diff options
context:
space:
mode:
Diffstat (limited to 'muse2/synti/organ')
-rw-r--r--muse2/synti/organ/CMakeLists.txt12
1 files changed, 9 insertions, 3 deletions
diff --git a/muse2/synti/organ/CMakeLists.txt b/muse2/synti/organ/CMakeLists.txt
index 07864e69..92ffebee 100644
--- a/muse2/synti/organ/CMakeLists.txt
+++ b/muse2/synti/organ/CMakeLists.txt
@@ -20,20 +20,26 @@
QT4_WRAP_CPP ( organ_mocs organgui.h )
-QT4_WRAP_UI ( organ_uis organguibase.ui )
+file (GLOB UI_FILES organguibase.ui )
+QT4_WRAP_UI ( organ_uis ${UI_FILES} )
-add_library ( organ SHARED
+file (GLOB SOURCE_FILES
organ.cpp
organgui.cpp
# reverb.cpp
# routing.cpp
# organgui.h
- ${PROJECT_SOURCE_DIR}/muse/xml.cpp
+ )
+add_library ( organ SHARED
+ ${PROJECT_SOURCE_DIR}/muse/xml.cpp
+ ${SOURCE_FILES}
${organ_mocs}
${organ_uis}
)
+set (FILES_TO_TRANSLATE ${FILES_TO_TRANSLATE} ${SOURCE_FILES} ${UI_FILES} CACHE INTERNAL "")
+
# - tell cmake to name target organ.so instead of
# liborgan.so
# - use precompiled header files