qtbase/examples/corelib/serialization/savegame
Alexandru Croitor 3b30b0fc2e CMake: Add deployment API to our examples
Projects were modified using the tool at:
https://git.qt.io/alcroito/cmake_refactor

A couple of examples had to be adapted manually, due to them including
more than one app per example subdirectory.

The INSTALL_EXAMPLESDIR and INSTALL_EXAMPLEDIR assignments were
removed.

The install(TARGETS) calls were modified according to our
documentation snippets for qt_generate_deploy_app_script.

A qt_generate_deploy_app_script call was added for each executable
target.

Note that the deployment step will be skipped in the CI for now,
because we enable QT_DEPLOY_MINIMAL_EXAMPLES and thus
QT_INTERNAL_SKIP_DEPLOYMENT, and also because standalone examples
are not enabled yet, and deployment is disabled for in-tree (so
no-standalone-example) prefix builds.

The install(TARGETS) calls for each example will still run,
installing the examples into an installed_examples directory, that
will not be archived by the CI.

Pick-to: 6.7
Task-number: QTBUG-102056
Task-number: QTBUG-102057
Change-Id: Ida389bbad41710b2ae5da4d95e2d85be9e0cd9ce
Reviewed-by:  Alexey Edelev <alexey.edelev@qt.io>
2024-03-22 20:23:52 +01:00
..
doc/src Rename the JSON Save Game Example to Saving a Game to File 2023-10-20 11:19:48 +02:00
CMakeLists.txt CMake: Add deployment API to our examples 2024-03-22 20:23:52 +01:00
character.cpp corelib/serialization examples: clang-tidy and coding style clean-up 2023-09-08 18:17:37 +02:00
character.h corelib/serialization examples: clang-tidy and coding style clean-up 2023-09-08 18:17:37 +02:00
game.cpp corelib/serialization examples: clang-tidy and coding style clean-up 2023-09-08 18:17:37 +02:00
game.h corelib/serialization examples: clang-tidy and coding style clean-up 2023-09-08 18:17:37 +02:00
level.cpp corelib/serialization examples: clang-tidy and coding style clean-up 2023-09-08 18:17:37 +02:00
level.h corelib/serialization examples: clang-tidy and coding style clean-up 2023-09-08 18:17:37 +02:00
main.cpp savegame ex.: revamp the way print() works 2023-05-09 08:21:10 +02:00
savegame.pro Add cmdline feature to qmake 2019-02-18 07:12:14 +00:00