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

36 lines
978 B
CMake

# Generated from mainwindow.pro.
#####################################################################
## mainwindow Binary:
#####################################################################
add_qt_executable(mainwindow
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/mainwindows/mainwindow"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/mainwindows/mainwindow"
SOURCES
colorswatch.cpp colorswatch.h
main.cpp
mainwindow.cpp mainwindow.h
toolbar.cpp toolbar.h
LIBRARIES
Qt::Widgets
)
# Resources:
add_qt_resource(mainwindow "mainwindow" PREFIX "/res" FILES
qt.png
titlebarCenter.png
titlebarLeft.png
titlebarRight.png)
#### Keys ignored in scope 1:.:mainwindow.pro:<NONE>:
# TEMPLATE = "app"
## Scopes:
#####################################################################
#### Keys ignored in scope 2:.:mainwindow.pro:build_all AND NOT build_pass:
# CONFIG = "-build_all" "release"