diff options
author | Orcan Ogetbil <oget.fedora@gmail.com> | 2010-12-12 10:30:39 +0000 |
---|---|---|
committer | Orcan Ogetbil <oget.fedora@gmail.com> | 2010-12-12 10:30:39 +0000 |
commit | cf0828dc76ddc11de107bc65ddada38d03404030 (patch) | |
tree | 2c56dd018886f2332330d4c98a46b05a23a3ab14 /muse2/muse/instruments/CMakeLists.txt | |
parent | a4d6602deb9e55720659df425664c554be6e4a7a (diff) |
Translations are now handled by cmake. Updated the Russian translation. Added -l flag to override system locale.
Diffstat (limited to 'muse2/muse/instruments/CMakeLists.txt')
-rw-r--r-- | muse2/muse/instruments/CMakeLists.txt | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/muse2/muse/instruments/CMakeLists.txt b/muse2/muse/instruments/CMakeLists.txt index 9e658928..8cc5e6b8 100644 --- a/muse2/muse/instruments/CMakeLists.txt +++ b/muse2/muse/instruments/CMakeLists.txt @@ -23,21 +23,31 @@ QT4_WRAP_CPP ( instruments_mocs editinstrument.h ) -QT4_WRAP_UI ( instruments_ui_headers +file (GLOB UI_FILES editinstrumentbase.ui ) +QT4_WRAP_UI ( instruments_ui_headers + ${UI_FILES} + ) + # Note that ccontrollerbase.ui is not built. It needs to be converted to Qt4 for revival. -add_library ( instruments STATIC +file (GLOB SOURCE_FILES minstrument.cpp editinstrument.cpp minstrument.h editinstrument.h + ) + +add_library ( instruments STATIC + ${SOURCE_FILES} ${instruments_mocs} ${instruments_ui_headers} ) +set (FILES_TO_TRANSLATE ${FILES_TO_TRANSLATE} ${SOURCE_FILES} ${UI_FILES} CACHE INTERNAL "") + set_target_properties( instruments PROPERTIES COMPILE_FLAGS "-include ${PROJECT_BINARY_DIR}/all.h" ) |