qt5base-lts/examples/widgets/mainwindows/mdi/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

28 lines
654 B
CMake

# Generated from mdi.pro.
#####################################################################
## mdi Binary:
#####################################################################
add_qt_executable(mdi
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/mainwindows/mdi"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/mainwindows/mdi"
SOURCES
main.cpp
mainwindow.cpp mainwindow.h
mdichild.cpp mdichild.h
LIBRARIES
Qt::Widgets
)
# Resources:
add_qt_resource(mdi "mdi" FILES
images/copy.png
images/cut.png
images/new.png
images/open.png
images/paste.png
images/save.png)