summaryrefslogtreecommitdiffstats
path: root/examples/gui/rasterwindow
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@qt.io>2019-03-18 19:26:24 +0100
committerTobias Hunger <tobias.hunger@qt.io>2019-03-26 13:03:01 +0000
commit64c6c943c7469c60e8d25c3efd630249740ae2f4 (patch)
tree4677ee8024b245d03ac647b11928930c1ad56304 /examples/gui/rasterwindow
parenta0a94576fae26bcbbf3823a6ee4b554886e84925 (diff)
CMake: Add more examples
Change-Id: I7a8a3fd0a844a518592957fe07c6e707dd452d5f Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'examples/gui/rasterwindow')
-rw-r--r--examples/gui/rasterwindow/CMakeLists.txt20
1 files changed, 16 insertions, 4 deletions
diff --git a/examples/gui/rasterwindow/CMakeLists.txt b/examples/gui/rasterwindow/CMakeLists.txt
index 667f91c268..61255f3038 100644
--- a/examples/gui/rasterwindow/CMakeLists.txt
+++ b/examples/gui/rasterwindow/CMakeLists.txt
@@ -1,6 +1,18 @@
+# Generated from rasterwindow.pro.
+
+#####################################################################
+## rasterwindow Binary:
+#####################################################################
+
add_qt_executable(rasterwindow
- SOURCES
- main.cpp
- rasterwindow.cpp rasterwindow.h
- LIBRARIES Qt::Core Qt::Test Qt::Gui
+ GUI
+ OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/gui/rasterwindow"
+ INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/gui/rasterwindow"
+ SOURCES
+ main.cpp
+ rasterwindow.cpp rasterwindow.h
+ INCLUDE_DIRECTORIES
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ LIBRARIES # special case
+ Qt::Gui
)