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/fluid/CMakeLists.txt | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'muse2/synti/fluid/CMakeLists.txt') diff --git a/muse2/synti/fluid/CMakeLists.txt b/muse2/synti/fluid/CMakeLists.txt index f2b07929..6a99c3f0 100644 --- a/muse2/synti/fluid/CMakeLists.txt +++ b/muse2/synti/fluid/CMakeLists.txt @@ -20,16 +20,23 @@ QT4_WRAP_CPP ( fluid_mocs fluidgui.h ) -QT4_WRAP_UI ( fluid_uis fluidguibase.ui ) +file (GLOB UI_FILES fluidguibase.ui ) +QT4_WRAP_UI ( fluid_uis ${UI_FILES} ) -add_library ( fluid SHARED +file (GLOB SOURCE_FILES fluid.cpp fluidgui.cpp fluidgui.h + ) + +add_library ( fluid SHARED + ${SOURCE_FILES} ${fluid_mocs} ${fluid_uis} ) +set (FILES_TO_TRANSLATE ${FILES_TO_TRANSLATE} ${SOURCE_FILES} ${UI_FILES} CACHE INTERNAL "") + # target_link_libraries( fluid synti ) # - tell cmake to name target fluid.so instead of -- cgit v1.2.3