summaryrefslogtreecommitdiff
path: root/muse2/synti/vam/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'muse2/synti/vam/CMakeLists.txt')
-rw-r--r--muse2/synti/vam/CMakeLists.txt11
1 files changed, 9 insertions, 2 deletions
diff --git a/muse2/synti/vam/CMakeLists.txt b/muse2/synti/vam/CMakeLists.txt
index 9d7d959f..d63e4144 100644
--- a/muse2/synti/vam/CMakeLists.txt
+++ b/muse2/synti/vam/CMakeLists.txt
@@ -20,16 +20,23 @@
QT4_WRAP_CPP ( vam_mocs vamgui.h )
-QT4_WRAP_UI ( vam_uis vamguibase.ui )
+file (GLOB UI_FILES vamguibase.ui )
+QT4_WRAP_UI ( vam_uis ${UI_FILES} )
-add_library ( vam SHARED
+file (GLOB SOURCE_FILES
vam.cpp
vamgui.cpp
vamgui.h
+ )
+
+add_library ( vam SHARED
+ ${SOURCE_FILES}
${vam_mocs}
${vam_uis}
)
+set (FILES_TO_TRANSLATE ${FILES_TO_TRANSLATE} ${SOURCE_FILES} ${UI_FILES} CACHE INTERNAL "")
+
# target_link_libraries( vam synti )
# - tell cmake to name target vam.so instead of