aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/CMakeLists.txt11
-rw-r--r--examples/qml/CMakeLists.txt14
-rw-r--r--examples/qml/referenceexamples/CMakeLists.txt19
-rw-r--r--examples/qml/referenceexamples/adding/CMakeLists.txt21
-rw-r--r--examples/qml/shell/CMakeLists.txt24
5 files changed, 89 insertions, 0 deletions
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
new file mode 100644
index 0000000000..81892b1661
--- /dev/null
+++ b/examples/CMakeLists.txt
@@ -0,0 +1,11 @@
+# Generated from examples.pro.
+
+add_subdirectory(qml)
+
+#if(TARGET Qt::QuickTest)
+ #add_subdirectory(qmltest)
+#endif()
+
+#if(TARGET Qt::Quick)
+#add_subdirectory(quick)
+#endif()
diff --git a/examples/qml/CMakeLists.txt b/examples/qml/CMakeLists.txt
new file mode 100644
index 0000000000..496d36ba21
--- /dev/null
+++ b/examples/qml/CMakeLists.txt
@@ -0,0 +1,14 @@
+# Generated from qml.pro.
+
+add_subdirectory(referenceexamples)
+#add_subdirectory(tutorials)
+add_subdirectory(shell)
+
+#if(TARGET Qt::Quick)
+ #add_subdirectory(qmlextensionplugins)
+ #add_subdirectory(xmlhttprequest)
+
+ #if(QT_FEATURE_qml_network)
+ #add_subdirectory(networkaccessmanagerfactory)
+ #endif()
+#endif()
diff --git a/examples/qml/referenceexamples/CMakeLists.txt b/examples/qml/referenceexamples/CMakeLists.txt
new file mode 100644
index 0000000000..f7ba5c0565
--- /dev/null
+++ b/examples/qml/referenceexamples/CMakeLists.txt
@@ -0,0 +1,19 @@
+# Generated from referenceexamples.pro.
+
+add_subdirectory(adding)
+#add_subdirectory(coercion)
+#add_subdirectory(default)
+#add_subdirectory(properties)
+#add_subdirectory(methods)
+
+#if(TARGET Qt::Widgets)
+ #add_subdirectory(extended)
+#endif()
+
+#if(TARGET Qt::Quick)
+ #add_subdirectory(attached)
+ #add_subdirectory(binding)
+ #add_subdirectory(grouped)
+ #add_subdirectory(signal)
+ #add_subdirectory(valuesource)
+#endif()
diff --git a/examples/qml/referenceexamples/adding/CMakeLists.txt b/examples/qml/referenceexamples/adding/CMakeLists.txt
new file mode 100644
index 0000000000..5f2b272d3f
--- /dev/null
+++ b/examples/qml/referenceexamples/adding/CMakeLists.txt
@@ -0,0 +1,21 @@
+# Generated from adding.pro.
+
+#####################################################################
+## adding Binary:
+#####################################################################
+
+add_qt_executable(adding
+ GUI
+ OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/qml/referenceexamples/adding"
+ INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/qml/referenceexamples/adding"
+ SOURCES
+ main.cpp
+ person.cpp person.h
+ PUBLIC_LIBRARIES
+ Qt::Qml
+)
+
+# Resources:
+add_qt_resource(adding "adding" FILES
+ example.qml)
+
diff --git a/examples/qml/shell/CMakeLists.txt b/examples/qml/shell/CMakeLists.txt
new file mode 100644
index 0000000000..2b3bdd4786
--- /dev/null
+++ b/examples/qml/shell/CMakeLists.txt
@@ -0,0 +1,24 @@
+# Generated from shell.pro.
+
+#####################################################################
+## shell Binary:
+#####################################################################
+
+add_qt_executable(shell
+ GUI
+ OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/qml/shell"
+ INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/qml/shell"
+ SOURCES
+ main.cpp
+ PUBLIC_LIBRARIES
+ Qt::Qml
+)
+
+## Scopes:
+#####################################################################
+
+#### Keys ignored in scope 2:.:.:shell.pro:WIN32:
+# CONFIG = "console"
+
+#### Keys ignored in scope 3:.:.:shell.pro:APPLE_OSX:
+# CONFIG = "-app_bundle"