qt5base-lts/examples/widgets/graphicsview/collidingmice/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

22 lines
589 B
CMake

# Generated from collidingmice.pro.
#####################################################################
## collidingmice Binary:
#####################################################################
add_qt_executable(collidingmice
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/graphicsview/collidingmice"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/graphicsview/collidingmice"
SOURCES
main.cpp
mouse.cpp mouse.h
LIBRARIES
Qt::Widgets
)
# Resources:
add_qt_resource(collidingmice "mice" PREFIX "/" FILES
images/cheese.jpg)