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/simpledrums2/CMakeLists.txt | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'muse2/synti/simpledrums2') diff --git a/muse2/synti/simpledrums2/CMakeLists.txt b/muse2/synti/simpledrums2/CMakeLists.txt index 3c7ba3c7..26d6b096 100644 --- a/muse2/synti/simpledrums2/CMakeLists.txt +++ b/muse2/synti/simpledrums2/CMakeLists.txt @@ -19,9 +19,11 @@ #============================================================================= QT4_WRAP_CPP ( simpledrums_mocs simpledrumsgui.h ssplugingui.h ) -QT4_WRAP_UI ( simpledrums_uis simpledrumsguibase.ui sspluginchooserbase.ui ) -add_library ( simpledrums SHARED +file (GLOB UI_FILES simpledrumsguibase.ui sspluginchooserbase.ui ) +QT4_WRAP_UI ( simpledrums_uis ${UI_FILES} ) + +file (GLOB SOURCE_FILES simpledrums.cpp simpledrumsgui.cpp simpledrums.h @@ -29,10 +31,16 @@ add_library ( simpledrums SHARED ssplugingui.cpp ssplugin.h common.h + ) + +add_library ( simpledrums SHARED + ${SOURCE_FILES} ${simpledrums_mocs} ${simpledrums_uis} ) +set (FILES_TO_TRANSLATE ${FILES_TO_TRANSLATE} ${SOURCE_FILES} ${UI_FILES} CACHE INTERNAL "") + # - tell cmake to name target simpledrums.so instead of # libsimpledrums.so # - use precompiled header files -- cgit v1.2.3