diff options
author | Tobias Hunger <tobias.hunger@qt.io> | 2019-03-20 13:41:37 +0100 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@qt.io> | 2019-03-26 15:25:39 +0000 |
commit | aa50b377a7d904e35cf3a26e4c8a054108011ffd (patch) | |
tree | ff45946e5779357aa547f00a8b5b9d0119a2b8f2 /examples/widgets/tools/undo | |
parent | 05ebd62f099b51b160a06e1257007bf437355fae (diff) |
CMake: Add widgets examples
Change-Id: Ib6142b93df066e3658eb189b50ca74c455fe7e56
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'examples/widgets/tools/undo')
-rw-r--r-- | examples/widgets/tools/undo/CMakeLists.txt | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/examples/widgets/tools/undo/CMakeLists.txt b/examples/widgets/tools/undo/CMakeLists.txt new file mode 100644 index 0000000000..751026bd62 --- /dev/null +++ b/examples/widgets/tools/undo/CMakeLists.txt @@ -0,0 +1,44 @@ +# Generated from undo.pro. + +##################################################################### +## undo Binary: +##################################################################### + +add_qt_executable(undo + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tools/undo" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tools/undo" + SOURCES + commands.cpp commands.h + document.cpp document.h + main.cpp + mainwindow.cpp mainwindow.h mainwindow.ui + LIBRARIES + Qt::Widgets +) + +# Resources: +add_qt_resource(undo "undo" PREFIX "/" FILES + icons/background.png + icons/blue.png + icons/circle.png + icons/exit.png + icons/fileclose.png + icons/filenew.png + icons/fileopen.png + icons/filesave.png + icons/green.png + icons/ok.png + icons/rectangle.png + icons/red.png + icons/redo.png + icons/remove.png + icons/triangle.png + icons/undo.png) + + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:undo.pro:build_all AND NOT build_pass: +# CONFIG = "-build_all" "release" |