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/liste | |
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/liste')
-rw-r--r-- | muse2/muse/liste/CMakeLists.txt | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/muse2/muse/liste/CMakeLists.txt b/muse2/muse/liste/CMakeLists.txt index d0c13a2d..e3a30797 100644 --- a/muse2/muse/liste/CMakeLists.txt +++ b/muse2/muse/liste/CMakeLists.txt @@ -29,17 +29,15 @@ QT4_WRAP_CPP ( liste_mocs editevent.h ) -QT4_WRAP_UI ( UIC +file (GLOB UI_FILES editctrlbase.ui ) -#QT4_WRAP_UI3 ( liste_ui_headers -# ctrllistedit.ui -# partlistedit.ui -# tracklistedit.ui -# ) +QT4_WRAP_UI ( UIC + ${UI_FILES} + ) -add_library ( liste STATIC +file (GLOB SOURCE_FILES # listedit.cpp listedit.h # ctrllistedit.cpp ctrllistedit.h # partlistedit.cpp partlistedit.h @@ -47,11 +45,17 @@ add_library ( liste STATIC # ieventdialog.cpp ieventdialog.h listedit.cpp listedit.h editevent.cpp editevent.h + ) + +add_library ( liste STATIC + ${SOURCE_FILES} ${liste_mocs} ${liste_ui_headers} ${UIC} ) +set (FILES_TO_TRANSLATE ${FILES_TO_TRANSLATE} ${SOURCE_FILES} ${UI_FILES} CACHE INTERNAL "") + add_dependencies(liste widgets) set_target_properties( liste |