diff options
author | Tobias Hunger <tobias.hunger@qt.io> | 2019-03-18 19:26:24 +0100 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@qt.io> | 2019-03-26 13:03:01 +0000 |
commit | 64c6c943c7469c60e8d25c3efd630249740ae2f4 (patch) | |
tree | 4677ee8024b245d03ac647b11928930c1ad56304 /examples/sql/books/CMakeLists.txt | |
parent | a0a94576fae26bcbbf3823a6ee4b554886e84925 (diff) |
CMake: Add more examples
Change-Id: I7a8a3fd0a844a518592957fe07c6e707dd452d5f
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'examples/sql/books/CMakeLists.txt')
-rw-r--r-- | examples/sql/books/CMakeLists.txt | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/examples/sql/books/CMakeLists.txt b/examples/sql/books/CMakeLists.txt new file mode 100644 index 0000000000..e01adc1402 --- /dev/null +++ b/examples/sql/books/CMakeLists.txt @@ -0,0 +1,30 @@ +# 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" |