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

33 lines
823 B
CMake

# Generated from dockwidgets.pro.
#####################################################################
## dockwidgets Binary:
#####################################################################
add_qt_executable(dockwidgets
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/mainwindows/dockwidgets"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/mainwindows/dockwidgets"
SOURCES
main.cpp
mainwindow.cpp mainwindow.h
LIBRARIES
Qt::Widgets
)
# Resources:
add_qt_resource(dockwidgets "dockwidgets" FILES
images/new.png
images/print.png
images/save.png
images/undo.png)
## Scopes:
#####################################################################
extend_target(dockwidgets CONDITION TARGET Qt::PrintSupport
LIBRARIES
Qt::PrintSupport
)