cmake: improve documentation of NO_PCH_SOURCES

Add the reference to unity builds in the documentation of
NO_PCH_SOURCES to fully describe the semantics.

Change-Id: Icfd3ee401efa154da4b8ed9a307d29f2605d948a
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
This commit is contained in:
Tim Blechmann 2024-02-07 10:18:54 +08:00 committed by Marc Mutz
parent 381d6b5ac9
commit 27383285a1

View File

@ -19,7 +19,7 @@
# EXTRA_LINKER_SCRIPT_EXPORTS
# Extra content that should be added to export section of the linker script.
# NO_PCH_SOURCES
# Skip the specified source files by PRECOMPILE_HEADERS feature.
# Exclude the specified source files from PRECOMPILE_HEADERS and UNITY_BUILD builds.
function(qt_internal_extend_target target)
if(NOT TARGET "${target}")
message(FATAL_ERROR "${target} is not a target.")