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/muse/mixer/CMakeLists.txt | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'muse2/muse/mixer/CMakeLists.txt') diff --git a/muse2/muse/mixer/CMakeLists.txt b/muse2/muse/mixer/CMakeLists.txt index 979d57a5..2a85ff32 100644 --- a/muse2/muse/mixer/CMakeLists.txt +++ b/muse2/muse/mixer/CMakeLists.txt @@ -19,11 +19,11 @@ #============================================================================= QT4_WRAP_CPP ( mixer_mocs amixer.h strip.h astrip.h mstrip.h meter.h rack.h panknob.h auxknob.h routedialog.h ) -QT4_WRAP_UI ( mixer_uis routedialogbase.ui ) -add_library ( mixer STATIC - ${mixer_mocs} - ${mixer_uis} +file (GLOB UI_FILES routedialogbase.ui ) +QT4_WRAP_UI ( mixer_uis ${UI_FILES} ) + +file (GLOB SOURCE_FILES amixer.cpp meter.cpp rack.cpp @@ -33,6 +33,14 @@ add_library ( mixer STATIC strip.cpp astrip.cpp mstrip.cpp ) +add_library ( mixer STATIC + ${SOURCE_FILES} + ${mixer_mocs} + ${mixer_uis} + ) + +set (FILES_TO_TRANSLATE ${FILES_TO_TRANSLATE} ${SOURCE_FILES} ${UI_FILES} CACHE INTERNAL "") + set_target_properties ( mixer PROPERTIES COMPILE_FLAGS "-include ${PROJECT_BINARY_DIR}/all.h" ) -- cgit v1.2.3