Help: Add version information for SYSTEM option of add_subdirectory

This commit is contained in:
Marc Chevrier
2022-12-16 14:05:43 +01:00
parent 2d3ed58cee
commit 2ee845c0a5

View File

@@ -34,9 +34,10 @@ parent project depends on a target in the subdirectory, the dependee
target will be included in the parent project build system to satisfy target will be included in the parent project build system to satisfy
the dependency. the dependency.
If the ``SYSTEM`` argument is provided, the :prop_dir:`SYSTEM` directory .. versionadded:: 3.25
property of the subdirectory will be set to true. This property is If the ``SYSTEM`` argument is provided, the :prop_dir:`SYSTEM` directory
used to initialize the :prop_tgt:`SYSTEM` property of each non-imported property of the subdirectory will be set to true. This property is
target created in that subdirectory. The include directories of targets used to initialize the :prop_tgt:`SYSTEM` property of each non-imported
with :prop_tgt:`SYSTEM` set to true will be treated as ``SYSTEM`` when target created in that subdirectory. The include directories of targets
compiling consumers. with :prop_tgt:`SYSTEM` set to true will be treated as ``SYSTEM`` when
compiling consumers.