diff options
author | Jonathan Bauer | 2011-06-17 16:02:53 +0200 |
---|---|---|
committer | Jonathan Bauer | 2011-06-17 16:02:53 +0200 |
commit | 50efdffaa4f096fd4fda812e46765c5c018bb1b4 (patch) | |
tree | b51b98be127abcbef36445d00b0e6f4296cad4f6 /CMakeLists.txt | |
parent | testing positions and sizes of floating widgets to find the better layout alt... (diff) | |
download | fbsplash-50efdffaa4f096fd4fda812e46765c5c018bb1b4.tar.gz fbsplash-50efdffaa4f096fd4fda812e46765c5c018bb1b4.tar.xz fbsplash-50efdffaa4f096fd4fda812e46765c5c018bb1b4.zip |
the geometric way to layout label/progress bar, TODO proper central widget...
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 6ee8d65..8cf1160 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,17 +11,18 @@ endif(QT4_FOUND) file(GLOB_RECURSE fbsplash_SOURCES src/*.cpp) file(GLOB_RECURSE fbsplash_MOC_HEADERS src/*.h) +file(GLOB_RECURSE fbsplash_UIS src/*.ui) -#set(fbsplash_SOURCES main.cpp fbsplash.cpp) -#set(fbsplash_HEADERS fbsplash.h) - -QT4_WRAP_CPP(fbsplash_MOC_SOURCES ${fbsplash_MOC_HEADERS}) - include(${QT_USE_FILE}) add_definitions(${QT_DEFINITIONS}) -add_executable(fbsplash ${fbsplash_SOURCES} - ${fbsplash_MOC_SOURCES}) +QT4_WRAP_UI(fbsplash_UI_HEADERS ${fbsplash_UIS}) +QT4_WRAP_CPP(fbsplash_MOC_SOURCES ${fbsplash_MOC_HEADERS}) + +add_executable(fbsplash + ${fbsplash_SOURCES} + ${fbsplash_MOC_SOURCES} + ${fbsplash_UI_HEADERS}) target_link_libraries(fbsplash ${QT_LIBRARIES}) |