From cf0828dc76ddc11de107bc65ddada38d03404030 Mon Sep 17 00:00:00 2001 From: Orcan Ogetbil Date: Sun, 12 Dec 2010 10:30:39 +0000 Subject: Translations are now handled by cmake. Updated the Russian translation. Added -l flag to override system locale. --- muse2/synti/fluidsynth/CMakeLists.txt | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'muse2/synti/fluidsynth') 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 -- cgit v1.2.3