diff options
| author | Orkun Tokdemir <orkun.tokdemir@qt.io> | 2024-07-26 14:14:47 +0200 |
|---|---|---|
| committer | Orkun Tokdemir <orkun.tokdemir@qt.io> | 2024-08-05 12:59:00 +0200 |
| commit | f3d29dfb89f3e35623edd7e5bca934a1e85a6c35 (patch) | |
| tree | 2bb740e2da3a2f964225e6258e6f33765b46613a /src/widgets/doc/snippets/cmake-macros/examples.cmake | |
| parent | 6c036012b5f2304a05af29f29daa7582603f79ae (diff) | |
CMake: Add new signature to qt6_wrap_cpp
* Introduce a new signature to qt6_wrap_cpp so that it accepts a target
name as the first parameter.
* Update the qt_wrap_cpp documentation.
* Show a warning message when the previous signature is used.
* Amends dc4159286b8571a3f3543e457fe1b51b9f5965b7 because it deleted
the `qt_wrap_cpp_3` example by mistake.
[ChangeLog][Build System] A new target-based signature was added for
qt_wrap_cpp. The usage of the previous output-variable signature is
deprecated and will issue a warning.
Pick-to: 6.8
Fixes: QTBUG-126460
Change-Id: I85b7c516d6aebd8bbfda441fb6c68999e4898479
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Diffstat (limited to 'src/widgets/doc/snippets/cmake-macros/examples.cmake')
0 files changed, 0 insertions, 0 deletions
