summaryrefslogtreecommitdiffstats
path: root/examples/corelib/serialization
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/corelib/serialization
parenta0a94576fae26bcbbf3823a6ee4b554886e84925 (diff)
CMake: Add more examples
Change-Id: I7a8a3fd0a844a518592957fe07c6e707dd452d5f Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'examples/corelib/serialization')
-rw-r--r--examples/corelib/serialization/CMakeLists.txt5
-rw-r--r--examples/corelib/serialization/cbordump/CMakeLists.txt19
-rw-r--r--examples/corelib/serialization/convert/CMakeLists.txt26
-rw-r--r--examples/corelib/serialization/savegame/CMakeLists.txt22
4 files changed, 72 insertions, 0 deletions
diff --git a/examples/corelib/serialization/CMakeLists.txt b/examples/corelib/serialization/CMakeLists.txt
new file mode 100644
index 0000000000..a64b5130d2
--- /dev/null
+++ b/examples/corelib/serialization/CMakeLists.txt
@@ -0,0 +1,5 @@
+# Generated from serialization.pro.
+
+add_subdirectory(cbordump)
+add_subdirectory(convert)
+add_subdirectory(savegame)
diff --git a/examples/corelib/serialization/cbordump/CMakeLists.txt b/examples/corelib/serialization/cbordump/CMakeLists.txt
new file mode 100644
index 0000000000..b62181a2b7
--- /dev/null
+++ b/examples/corelib/serialization/cbordump/CMakeLists.txt
@@ -0,0 +1,19 @@
+# Generated from cbordump.pro.
+
+#####################################################################
+## cbordump Binary:
+#####################################################################
+
+add_qt_executable(cbordump
+ GUI
+ OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/corelib/serialization/cbordump"
+ INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/corelib/serialization/cbordump"
+ SOURCES
+ main.cpp
+ LIBRARIES
+ # Remove: gui
+)
+
+#### Keys ignored in scope 1:.:cbordump.pro:<NONE>:
+# CONFIG = "-app_bundle"
+# TEMPLATE = "app"
diff --git a/examples/corelib/serialization/convert/CMakeLists.txt b/examples/corelib/serialization/convert/CMakeLists.txt
new file mode 100644
index 0000000000..4dffb69c5b
--- /dev/null
+++ b/examples/corelib/serialization/convert/CMakeLists.txt
@@ -0,0 +1,26 @@
+# Generated from convert.pro.
+
+#####################################################################
+## convert Binary:
+#####################################################################
+
+add_qt_executable(convert
+ GUI
+ OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/corelib/serialization/convert"
+ INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/corelib/serialization/convert"
+ SOURCES
+ cborconverter.cpp cborconverter.h
+ converter.h
+ datastreamconverter.cpp datastreamconverter.h
+ jsonconverter.cpp jsonconverter.h
+ main.cpp
+ nullconverter.cpp nullconverter.h
+ textconverter.cpp textconverter.h
+ xmlconverter.cpp xmlconverter.h
+ LIBRARIES
+ # Remove: gui
+)
+
+#### Keys ignored in scope 1:.:convert.pro:<NONE>:
+# CONFIG = "-app_bundle"
+# TEMPLATE = "app"
diff --git a/examples/corelib/serialization/savegame/CMakeLists.txt b/examples/corelib/serialization/savegame/CMakeLists.txt
new file mode 100644
index 0000000000..175fca270f
--- /dev/null
+++ b/examples/corelib/serialization/savegame/CMakeLists.txt
@@ -0,0 +1,22 @@
+# Generated from savegame.pro.
+
+#####################################################################
+## savegame Binary:
+#####################################################################
+
+add_qt_executable(savegame
+ GUI
+ OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/corelib/serialization/savegame"
+ INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/corelib/serialization/savegame"
+ SOURCES
+ character.cpp character.h
+ game.cpp game.h
+ level.cpp level.h
+ main.cpp
+ LIBRARIES
+ # Remove: gui
+)
+
+#### Keys ignored in scope 1:.:savegame.pro:<NONE>:
+# CONFIG = "-app_bundle"
+# TEMPLATE = "app"