diff options
author | Orcan Ogetbil <oget.fedora@gmail.com> | 2010-12-12 10:30:39 +0000 |
---|---|---|
committer | Orcan Ogetbil <oget.fedora@gmail.com> | 2010-12-12 10:30:39 +0000 |
commit | cf0828dc76ddc11de107bc65ddada38d03404030 (patch) | |
tree | 2c56dd018886f2332330d4c98a46b05a23a3ab14 /muse2/synti/organ/CMakeLists.txt | |
parent | a4d6602deb9e55720659df425664c554be6e4a7a (diff) |
Translations are now handled by cmake. Updated the Russian translation. Added -l flag to override system locale.
Diffstat (limited to 'muse2/synti/organ/CMakeLists.txt')
-rw-r--r-- | muse2/synti/organ/CMakeLists.txt | 12 |
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 |