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/qpa | |
parent | a0a94576fae26bcbbf3823a6ee4b554886e84925 (diff) |
CMake: Add more examples
Change-Id: I7a8a3fd0a844a518592957fe07c6e707dd452d5f
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'examples/qpa')
-rw-r--r-- | examples/qpa/CMakeLists.txt | 4 | ||||
-rw-r--r-- | examples/qpa/qrasterwindow/CMakeLists.txt | 15 | ||||
-rw-r--r-- | examples/qpa/windows/CMakeLists.txt | 19 |
3 files changed, 38 insertions, 0 deletions
diff --git a/examples/qpa/CMakeLists.txt b/examples/qpa/CMakeLists.txt new file mode 100644 index 0000000000..0ae7f61e57 --- /dev/null +++ b/examples/qpa/CMakeLists.txt @@ -0,0 +1,4 @@ +# Generated from qpa.pro. + +add_subdirectory(windows) +add_subdirectory(qrasterwindow) diff --git a/examples/qpa/qrasterwindow/CMakeLists.txt b/examples/qpa/qrasterwindow/CMakeLists.txt new file mode 100644 index 0000000000..0eae5b28af --- /dev/null +++ b/examples/qpa/qrasterwindow/CMakeLists.txt @@ -0,0 +1,15 @@ +# Generated from qrasterwindow.pro. + +##################################################################### +## qrasterwindow Binary: +##################################################################### + +add_qt_executable(qrasterwindow + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/qpa/qrasterwindow" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/qpa/qrasterwindow" + SOURCES + main.cpp + LIBRARIES + Qt::Gui # special case +) diff --git a/examples/qpa/windows/CMakeLists.txt b/examples/qpa/windows/CMakeLists.txt new file mode 100644 index 0000000000..55135e02ff --- /dev/null +++ b/examples/qpa/windows/CMakeLists.txt @@ -0,0 +1,19 @@ +# Generated from windows.pro. + +##################################################################### +## windows Binary: +##################################################################### + +add_qt_executable(windows + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/qpa/windows" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/qpa/windows" + SOURCES + main.cpp + window.cpp window.h + LIBRARIES + Qt::GuiPrivate + Qt::CorePrivate +) + +#### Keys ignored in scope 1:.:windows.pro:<NONE>: +# CONFIG = "console" |