summaryrefslogtreecommitdiff
path: root/muse2/synti/deicsonze
diff options
context:
space:
mode:
Diffstat (limited to 'muse2/synti/deicsonze')
-rw-r--r--muse2/synti/deicsonze/CMakeLists.txt15
1 files changed, 11 insertions, 4 deletions
diff --git a/muse2/synti/deicsonze/CMakeLists.txt b/muse2/synti/deicsonze/CMakeLists.txt
index d5d16e41..0b4e0afb 100644
--- a/muse2/synti/deicsonze/CMakeLists.txt
+++ b/muse2/synti/deicsonze/CMakeLists.txt
@@ -21,22 +21,29 @@
include(${PROJECT_SOURCE_DIR}/pch.txt)
QT4_WRAP_CPP ( deicsonze_mocs deicsonzegui.h )
-QT4_WRAP_UI ( deicsonze_uis deicsonzegui.ui )
-add_library ( deicsonze SHARED
- ${PROJECT_BINARY_DIR}/all.h
- ${PROJECT_BINARY_DIR}/all-pic.h.pch
+file (GLOB UI_FILES deicsonzegui.ui )
+QT4_WRAP_UI ( deicsonze_uis ${UI_FILES} )
+
+file (GLOB SOURCE_FILES
deicsonze.cpp
deicsonzepreset.cpp
deicsonzeplugin.cpp
deicsonzefilter.cpp
deicsonzegui.cpp
deicsonzegui.h
+ )
+add_library ( deicsonze SHARED
+ ${SOURCE_FILES}
+ ${PROJECT_BINARY_DIR}/all.h
+ ${PROJECT_BINARY_DIR}/all-pic.h.pch
${deicsonze_mocs}
${deicsonze_uis}
)
+set (FILES_TO_TRANSLATE ${FILES_TO_TRANSLATE} ${SOURCE_FILES} ${UI_FILES} CACHE INTERNAL "")
+
target_link_libraries( deicsonze synti )
# - tell cmake to name target deicsonze.so instead of