The Professional CMake book suggests always using explicit linkage with target_link_libraries, so let's use that. Whether to use PUBLIC or PRIVATE depends on the context. But let's be conservative and advise on using PRIVATE by default. Task-number: QTBUG-88935 Pick-to: 6.0 Change-Id: I12b80ee85be9f6916f1e4dea6b1c9cb29e03c20f Reviewed-by: Craig Scott <craig.scott@qt.io> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> |
||
|---|---|---|
| .. | ||
| dialogs | ||
| doc | ||
| kernel | ||
| platform | ||
| widgets | ||
| CMakeLists.txt | ||
| configure.cmake | ||
| configure.json | ||
| printsupport.pro | ||
| qt_cmdline.cmake | ||