qt5base-lts/examples/sql/masterdetail/CMakeLists.txt
Tobias Hunger 64c6c943c7 CMake: Add more examples
Change-Id: I7a8a3fd0a844a518592957fe07c6e707dd452d5f
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2019-03-26 13:03:01 +00:00

31 lines
768 B
CMake

# Generated from masterdetail.pro.
#####################################################################
## masterdetail Binary:
#####################################################################
add_qt_executable(masterdetail
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/sql/masterdetail"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/sql/masterdetail"
SOURCES
database.h
dialog.cpp dialog.h
main.cpp
mainwindow.cpp mainwindow.h
LIBRARIES
Qt::Sql
Qt::Widgets
Qt::Xml
Qt::Widgets
)
# Resources:
add_qt_resource(masterdetail "masterdetail" FILES
images/icon.png
images/image.png)
#### Keys ignored in scope 1:.:masterdetail.pro:<NONE>:
# EXAMPLE_FILES = "albumdetails.xml"