diff options
| author | Alexandru Croitor <alexandru.croitor@qt.io> | 2023-11-17 17:47:04 +0100 |
|---|---|---|
| committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2023-11-27 19:53:42 +0100 |
| commit | 8c14b0c02f3e4b06a9aa4ea7608360149be4a50f (patch) | |
| tree | 00403379f0c8440ced870274a4958284df921698 /src/widgets/doc/snippets/widgets-tutorial/template.cpp | |
| parent | 2b1f2338631ae24614637b90c45f2778c3c77e37 (diff) | |
CMake: Dynamically include and install Helpers and other files
Instead of duplicating file names that need to be include()'ed
in two different places if the files are meant to be used
in both Qt builds and public user projects and then also mention the
name when installing, extract the file names into lists returned by
functions.
Call these functions where needed to iteratively include() the files
as well as install them, without having to remember updating multiple
code locations.
The new functions return the following list of file names:
- upstream cmake modules that need to be included during a Qt build
- public (Qt build and user project) cmake helpers that need to be
included and installed
- private (Qt build only) cmake helpers that need to be included and
installed
- public files that need to be installed, but not included
- private files that need to be installed, but not included
We also generate the list of public files to include in
Qt6Config.cmake.
Task-number: QTBUG-86035
Change-Id: I1e7287f4e1d041c723f144ba9626b34f873c4891
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
Diffstat (limited to 'src/widgets/doc/snippets/widgets-tutorial/template.cpp')
0 files changed, 0 insertions, 0 deletions
