diff options
author | Tobias Hunger <tobias.hunger@qt.io> | 2019-03-18 19:26:24 +0100 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@qt.io> | 2019-03-26 13:03:01 +0000 |
commit | 64c6c943c7469c60e8d25c3efd630249740ae2f4 (patch) | |
tree | 4677ee8024b245d03ac647b11928930c1ad56304 /examples/embedded | |
parent | a0a94576fae26bcbbf3823a6ee4b554886e84925 (diff) |
CMake: Add more examples
Change-Id: I7a8a3fd0a844a518592957fe07c6e707dd452d5f
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'examples/embedded')
-rw-r--r-- | examples/embedded/CMakeLists.txt | 8 | ||||
-rw-r--r-- | examples/embedded/digiflip/CMakeLists.txt | 15 | ||||
-rw-r--r-- | examples/embedded/flickable/CMakeLists.txt | 16 | ||||
-rw-r--r-- | examples/embedded/flightinfo/CMakeLists.txt | 25 | ||||
-rw-r--r-- | examples/embedded/lightmaps/CMakeLists.txt | 22 | ||||
-rw-r--r-- | examples/embedded/raycasting/CMakeLists.txt | 23 | ||||
-rw-r--r-- | examples/embedded/styleexample/CMakeLists.txt | 28 |
7 files changed, 137 insertions, 0 deletions
diff --git a/examples/embedded/CMakeLists.txt b/examples/embedded/CMakeLists.txt new file mode 100644 index 0000000000..bd7720809a --- /dev/null +++ b/examples/embedded/CMakeLists.txt @@ -0,0 +1,8 @@ +# Generated from embedded.pro. + +add_subdirectory(styleexample) +add_subdirectory(raycasting) +add_subdirectory(flickable) +add_subdirectory(digiflip) +add_subdirectory(lightmaps) +add_subdirectory(flightinfo) diff --git a/examples/embedded/digiflip/CMakeLists.txt b/examples/embedded/digiflip/CMakeLists.txt new file mode 100644 index 0000000000..3786ed38a4 --- /dev/null +++ b/examples/embedded/digiflip/CMakeLists.txt @@ -0,0 +1,15 @@ +# Generated from digiflip.pro. + +##################################################################### +## digiflip Binary: +##################################################################### + +add_qt_executable(digiflip + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/embedded/digiflip" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/embedded/digiflip" + SOURCES + digiflip.cpp + LIBRARIES + Qt::Widgets +) diff --git a/examples/embedded/flickable/CMakeLists.txt b/examples/embedded/flickable/CMakeLists.txt new file mode 100644 index 0000000000..20f8eca9f5 --- /dev/null +++ b/examples/embedded/flickable/CMakeLists.txt @@ -0,0 +1,16 @@ +# Generated from flickable.pro. + +##################################################################### +## flickable Binary: +##################################################################### + +add_qt_executable(flickable + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/embedded/flickable" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/embedded/flickable" + SOURCES + flickable.cpp flickable.h + main.cpp + LIBRARIES + Qt::Widgets +) diff --git a/examples/embedded/flightinfo/CMakeLists.txt b/examples/embedded/flightinfo/CMakeLists.txt new file mode 100644 index 0000000000..b7d8441b96 --- /dev/null +++ b/examples/embedded/flightinfo/CMakeLists.txt @@ -0,0 +1,25 @@ +# Generated from flightinfo.pro. + +##################################################################### +## flightinfo Binary: +##################################################################### + +add_qt_executable(flightinfo + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/embedded/flightinfo" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/embedded/flightinfo" + SOURCES + flightinfo.cpp + form.ui + LIBRARIES + Qt::Network + Qt::Widgets +) + +# Resources: +add_qt_resource(flightinfo "flightinfo" PREFIX "/" FILES + aircraft.png) + + +#### Keys ignored in scope 1:.:flightinfo.pro:<NONE>: +# TEMPLATE = "app" diff --git a/examples/embedded/lightmaps/CMakeLists.txt b/examples/embedded/lightmaps/CMakeLists.txt new file mode 100644 index 0000000000..4779d07adc --- /dev/null +++ b/examples/embedded/lightmaps/CMakeLists.txt @@ -0,0 +1,22 @@ +# Generated from lightmaps.pro. + +##################################################################### +## lightmaps Binary: +##################################################################### + +add_qt_executable(lightmaps + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/embedded/lightmaps" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/embedded/lightmaps" + SOURCES + lightmaps.cpp lightmaps.h + main.cpp + mapzoom.cpp mapzoom.h + slippymap.cpp slippymap.h + LIBRARIES + Qt::Network + Qt::Widgets +) + +#### Keys ignored in scope 1:.:lightmaps.pro:<NONE>: +# TEMPLATE = "app" diff --git a/examples/embedded/raycasting/CMakeLists.txt b/examples/embedded/raycasting/CMakeLists.txt new file mode 100644 index 0000000000..3757bb756a --- /dev/null +++ b/examples/embedded/raycasting/CMakeLists.txt @@ -0,0 +1,23 @@ +# Generated from raycasting.pro. + +##################################################################### +## raycasting Binary: +##################################################################### + +add_qt_executable(raycasting + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/embedded/raycasting" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/embedded/raycasting" + SOURCES + raycasting.cpp + LIBRARIES + Qt::Widgets +) + +# Resources: +add_qt_resource(raycasting "raycasting" PREFIX "/" FILES + textures.png) + + +#### Keys ignored in scope 1:.:raycasting.pro:<NONE>: +# TEMPLATE = "app" diff --git a/examples/embedded/styleexample/CMakeLists.txt b/examples/embedded/styleexample/CMakeLists.txt new file mode 100644 index 0000000000..9c82adc99d --- /dev/null +++ b/examples/embedded/styleexample/CMakeLists.txt @@ -0,0 +1,28 @@ +# Generated from styleexample.pro. + +##################################################################### +## styleexample Binary: +##################################################################### + +add_qt_executable(styleexample + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/embedded/styleexample" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/embedded/styleexample" + SOURCES + main.cpp + stylewidget.cpp stylewidget.h stylewidget.ui + LIBRARIES + Qt::Widgets +) + +# Resources: +add_qt_resource(styleexample "styleexample" PREFIX "/" FILES + files/add.png + files/application.qss + files/blue.qss + files/khaki.qss + files/nature_1.jpg + files/nostyle.qss + files/remove.png + files/transparent.qss) + |