From aa50b377a7d904e35cf3a26e4c8a054108011ffd Mon Sep 17 00:00:00 2001 From: Tobias Hunger Date: Wed, 20 Mar 2019 13:41:37 +0100 Subject: CMake: Add widgets examples Change-Id: Ib6142b93df066e3658eb189b50ca74c455fe7e56 Reviewed-by: Alexandru Croitor --- .../widgets/mainwindows/mainwindow/CMakeLists.txt | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 examples/widgets/mainwindows/mainwindow/CMakeLists.txt (limited to 'examples/widgets/mainwindows/mainwindow') diff --git a/examples/widgets/mainwindows/mainwindow/CMakeLists.txt b/examples/widgets/mainwindows/mainwindow/CMakeLists.txt new file mode 100644 index 0000000000..df1d9b6355 --- /dev/null +++ b/examples/widgets/mainwindows/mainwindow/CMakeLists.txt @@ -0,0 +1,35 @@ +# Generated from mainwindow.pro. + +##################################################################### +## mainwindow Binary: +##################################################################### + +add_qt_executable(mainwindow + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/mainwindows/mainwindow" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/mainwindows/mainwindow" + SOURCES + colorswatch.cpp colorswatch.h + main.cpp + mainwindow.cpp mainwindow.h + toolbar.cpp toolbar.h + LIBRARIES + Qt::Widgets +) + +# Resources: +add_qt_resource(mainwindow "mainwindow" PREFIX "/res" FILES + qt.png + titlebarCenter.png + titlebarLeft.png + titlebarRight.png) + + +#### Keys ignored in scope 1:.:mainwindow.pro:: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:mainwindow.pro:build_all AND NOT build_pass: +# CONFIG = "-build_all" "release" -- cgit v1.2.3