diff options
Diffstat (limited to 'muse2/muse/waveedit/CMakeLists.txt')
-rw-r--r-- | muse2/muse/waveedit/CMakeLists.txt | 18 |
1 files changed, 14 insertions, 4 deletions
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" ) |