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/waveedit/CMakeLists.txt | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) (limited to 'muse2/muse/waveedit') diff --git a/muse2/muse/waveedit/CMakeLists.txt b/muse2/muse/waveedit/CMakeLists.txt index 1c36c138..4fb6915e 100644 --- a/muse2/muse/waveedit/CMakeLists.txt +++ b/muse2/muse/waveedit/CMakeLists.txt @@ -24,18 +24,28 @@ QT4_WRAP_CPP ( waveedit_mocs editgain.h ) -QT4_WRAP_UI (waveedit_ui_headers +file (GLOB UI_FILES editgainbase.ui ) -add_library ( waveedit STATIC - ${waveedit_ui_headers} - ${waveedit_mocs} +QT4_WRAP_UI (waveedit_ui_headers + ${UI_FILES} + ) + +file (GLOB SOURCE_FILES waveedit.cpp waveview.cpp editgain.cpp ) +add_library ( waveedit STATIC + ${SOURCE_FILES} + ${waveedit_ui_headers} + ${waveedit_mocs} + ) + +set (FILES_TO_TRANSLATE ${FILES_TO_TRANSLATE} ${SOURCE_FILES} ${UI_FILES} CACHE INTERNAL "") + set_target_properties( waveedit PROPERTIES COMPILE_FLAGS "-include ${PROJECT_BINARY_DIR}/all.h" ) -- cgit v1.2.3