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/fluidsynth | |
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/fluidsynth')
-rw-r--r-- | muse2/synti/fluidsynth/CMakeLists.txt | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/muse2/synti/fluidsynth/CMakeLists.txt b/muse2/synti/fluidsynth/CMakeLists.txt index e33bf912..c812cee1 100644 --- a/muse2/synti/fluidsynth/CMakeLists.txt +++ b/muse2/synti/fluidsynth/CMakeLists.txt @@ -20,21 +20,28 @@ QT4_WRAP_CPP ( fluidsynth_mocs fluidsynthgui.h ) -QT4_WRAP_UI ( fluidsynth_uis fluidsynthguibase.ui ) +file (GLOB UI_FILES fluidsynthguibase.ui ) +QT4_WRAP_UI ( fluidsynth_uis ${UI_FILES} ) QT4_ADD_RESOURCES (fluidsynth_qrc_files fluidsynth.qrc ) -add_library ( fluidsynth SHARED +file (GLOB SOURCE_FILES fluidsynti.cpp fluidsynthgui.cpp fluidsynthgui.h + ) + +add_library ( fluidsynth SHARED + ${SOURCE_FILES} ${fluidsynth_mocs} ${fluidsynth_uis} ${fluidsynth_qrc_files} ) +set (FILES_TO_TRANSLATE ${FILES_TO_TRANSLATE} ${SOURCE_FILES} ${UI_FILES} CACHE INTERNAL "") + # target_link_libraries( fluidsynth synti ) # - tell cmake to name target fluidsynth.so instead of |