summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/CMakeLists.txt3
-rw-r--r--examples/gui/CMakeLists.txt1
-rw-r--r--examples/gui/rasterwindow/CMakeLists.txt18
3 files changed, 22 insertions, 0 deletions
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
new file mode 100644
index 0000000000..4eaab5064f
--- /dev/null
+++ b/examples/CMakeLists.txt
@@ -0,0 +1,3 @@
+if(QT_FEATURE_gui)
+ add_subdirectory(gui)
+endif()
diff --git a/examples/gui/CMakeLists.txt b/examples/gui/CMakeLists.txt
new file mode 100644
index 0000000000..ac96b7351c
--- /dev/null
+++ b/examples/gui/CMakeLists.txt
@@ -0,0 +1 @@
+add_subdirectory(rasterwindow)
diff --git a/examples/gui/rasterwindow/CMakeLists.txt b/examples/gui/rasterwindow/CMakeLists.txt
new file mode 100644
index 0000000000..13caffe5bb
--- /dev/null
+++ b/examples/gui/rasterwindow/CMakeLists.txt
@@ -0,0 +1,18 @@
+# Generated from rasterwindow.pro.
+
+#####################################################################
+## None Binary:
+#####################################################################
+
+set(sources main.cpp
+ rasterwindow.cpp rasterwindow.h)
+add_executable(rasterwindow
+ ${sources}
+)
+qt_internal_automoc(rasterwindow ${sources})
+target_include_directories(rasterwindow
+ PRIVATE
+ "${CMAKE_CURRENT_SOURCE_DIR}"
+ "${CMAKE_CURRENT_BINARY_DIR}"
+ )
+target_link_libraries(rasterwindow PRIVATE Qt::Core Qt::Test Qt::Gui)