diff options
author | Franck Bettinger <bettingf@cs.man.ac.uk> | 2002-09-11 20:41:46 (GMT) |
---|---|---|
committer | Franck Bettinger <bettingf@cs.man.ac.uk> | 2002-09-11 20:41:46 (GMT) |
commit | 4be9fce5fe96e5b63fbf4bb469097234c126dca9 (patch) | |
tree | a9a7fd2560b5fabb94ab24ea0fa6f66500c30b9c /Tests/Wrapping/CMakeLists.txt | |
parent | 3f047aabaf3bb10456a4737212177aa146aa54fd (diff) | |
download | CMake-4be9fce5fe96e5b63fbf4bb469097234c126dca9.zip CMake-4be9fce5fe96e5b63fbf4bb469097234c126dca9.tar.gz CMake-4be9fce5fe96e5b63fbf4bb469097234c126dca9.tar.bz2 |
added test for QTWrapUI
Diffstat (limited to 'Tests/Wrapping/CMakeLists.txt')
-rw-r--r-- | Tests/Wrapping/CMakeLists.txt | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/Tests/Wrapping/CMakeLists.txt b/Tests/Wrapping/CMakeLists.txt index 1420861..e09a015 100644 --- a/Tests/Wrapping/CMakeLists.txt +++ b/Tests/Wrapping/CMakeLists.txt @@ -27,6 +27,7 @@ ENDIF (EXECUTABLE_OUTPUT_PATH) # Add exe # ADD_EXECUTABLE (wrapping wrapping.cxx) +ADD_EXECUTABLE (qtwrappingmain qtwrappingmain.cxx QTUI_S_SRCS) # # Test VTK wrappers @@ -79,13 +80,23 @@ CONFIGURE_FILE( # # QT Wrappers # + +INCLUDE( ../../Modules/FindQt.cmake ) +INCLUDE_DIRECTORIES( ${QT_INCLUDE_DIR} ) +INCLUDE_DIRECTORIES( ./ ) + +LINK_LIBRARIES( ${QT_LIBRARIES} ) + SET (QT_WRAP_CPP "On") SET (QT_MOC_EXE "echo") QT_WRAP_CPP (wraplibQT QT_SRCS SRCS) SET (QT_WRAP_UI "On") SET (QT_UIC_EXE "echo") -QT_WRAP_UI (wraplibQTUI QTUI_H_SRCS QTUI_S_SRCS SRCS) +SET (QTUI_SRCS + qtwrapping.ui +) +QT_WRAP_UI (qtwrappingmain QTUI_H_SRCS QTUI_S_SRCS QTUI_SRCS) # # FLTK Wrappers |