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 --- examples/widgets/animation/stickman/CMakeLists.txt | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 examples/widgets/animation/stickman/CMakeLists.txt (limited to 'examples/widgets/animation/stickman') diff --git a/examples/widgets/animation/stickman/CMakeLists.txt b/examples/widgets/animation/stickman/CMakeLists.txt new file mode 100644 index 0000000000..f604598232 --- /dev/null +++ b/examples/widgets/animation/stickman/CMakeLists.txt @@ -0,0 +1,29 @@ +# Generated from stickman.pro. + +##################################################################### +## stickman Binary: +##################################################################### + +add_qt_executable(stickman + GUI + OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/animation/stickman" + INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/animation/stickman" + SOURCES + animation.cpp animation.h + graphicsview.cpp graphicsview.h + lifecycle.cpp lifecycle.h + main.cpp + node.cpp node.h + rectbutton.cpp rectbutton.h + stickman.cpp stickman.h + LIBRARIES + Qt::Widgets +) + +# Resources: +add_qt_resource(stickman "stickman" FILES + animations/chilling.bin + animations/dancing.bin + animations/dead.bin + animations/jumping.bin) + -- cgit v1.2.3