qt5base-lts/examples/widgets/graphicsview/dragdroprobot/CMakeLists.txt
Tobias Hunger aa50b377a7 CMake: Add widgets examples
Change-Id: Ib6142b93df066e3658eb189b50ca74c455fe7e56
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2019-03-26 15:25:39 +00:00

23 lines
622 B
CMake

# Generated from dragdroprobot.pro.
#####################################################################
## dragdroprobot Binary:
#####################################################################
add_qt_executable(dragdroprobot
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/graphicsview/dragdroprobot"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/graphicsview/dragdroprobot"
SOURCES
coloritem.cpp coloritem.h
main.cpp
robot.cpp robot.h
LIBRARIES
Qt::Widgets
)
# Resources:
add_qt_resource(dragdroprobot "robot" PREFIX "/" FILES
images/head.png)