qt5base-lts/examples/widgets/tools/undoframework/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

25 lines
692 B
CMake

# Generated from undoframework.pro.
#####################################################################
## undoframework Binary:
#####################################################################
add_qt_executable(undoframework
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tools/undoframework"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tools/undoframework"
SOURCES
commands.cpp commands.h
diagramitem.cpp diagramitem.h
diagramscene.cpp diagramscene.h
main.cpp
mainwindow.cpp mainwindow.h
LIBRARIES
Qt::Widgets
)
# Resources:
add_qt_resource(undoframework "undoframework" FILES
images/cross.png)