summaryrefslogtreecommitdiff
path: root/muse2/synti/deicsonze
diff options
context:
space:
mode:
authorOrcan Ogetbil <oget.fedora@gmail.com>2010-12-12 10:30:39 +0000
committerOrcan Ogetbil <oget.fedora@gmail.com>2010-12-12 10:30:39 +0000
commitcf0828dc76ddc11de107bc65ddada38d03404030 (patch)
tree2c56dd018886f2332330d4c98a46b05a23a3ab14 /muse2/synti/deicsonze
parenta4d6602deb9e55720659df425664c554be6e4a7a (diff)
Translations are now handled by cmake. Updated the Russian translation. Added -l flag to override system locale.
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