qt5base-lts/examples/sql/books/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
752 B
CMake

# Generated from books.pro.
#####################################################################
## books Binary:
#####################################################################
add_qt_executable(books
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/sql/books"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/sql/books"
SOURCES
bookdelegate.cpp bookdelegate.h
bookwindow.cpp bookwindow.h bookwindow.ui
initdb.h
main.cpp
INCLUDE_DIRECTORIES
${CMAKE_CURRENT_SOURCE_DIR}
LIBRARIES
Qt::Sql
Qt::Widgets
Qt::Widgets
)
# Resources:
add_qt_resource(books "books" PREFIX "/" FILES
images/star.png)
#### Keys ignored in scope 1:.:books.pro:<NONE>:
# TEMPLATE = "app"