mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-05 14:18:35 -06:00
Autogen: Add AUTOGEN_USE_SYSTEM_INCLUDE target property
`AUTOGEN_USE_SYSTEM_INCLUDE` was added. `AUTOGEN_USE_SYSTEM_INCLUDE` is a boolean property that can be set on a target to indicate that the autogen target include directory should be added as a system include directory or normal include directory to the target.
This commit is contained in:
committed by
Brad King
parent
8ba16db163
commit
033dc7ee2f
@@ -133,6 +133,7 @@ Properties on Targets
|
||||
/prop_tgt/AUTOGEN_ORIGIN_DEPENDS
|
||||
/prop_tgt/AUTOGEN_PARALLEL
|
||||
/prop_tgt/AUTOGEN_TARGET_DEPENDS
|
||||
/prop_tgt/AUTOGEN_USE_SYSTEM_INCLUDE
|
||||
/prop_tgt/AUTOMOC
|
||||
/prop_tgt/AUTOMOC_COMPILER_PREDEFINES
|
||||
/prop_tgt/AUTOMOC_DEPEND_FILTERS
|
||||
|
||||
@@ -397,6 +397,7 @@ Variables that Control the Build
|
||||
/variable/CMAKE_ARCHIVE_OUTPUT_DIRECTORY_CONFIG
|
||||
/variable/CMAKE_AUTOGEN_ORIGIN_DEPENDS
|
||||
/variable/CMAKE_AUTOGEN_PARALLEL
|
||||
/variable/CMAKE_AUTOGEN_USE_SYSTEM_INCLUDE
|
||||
/variable/CMAKE_AUTOGEN_VERBOSE
|
||||
/variable/CMAKE_AUTOMOC
|
||||
/variable/CMAKE_AUTOMOC_COMPILER_PREDEFINES
|
||||
|
||||
14
Help/prop_tgt/AUTOGEN_USE_SYSTEM_INCLUDE.rst
Normal file
14
Help/prop_tgt/AUTOGEN_USE_SYSTEM_INCLUDE.rst
Normal file
@@ -0,0 +1,14 @@
|
||||
AUTOGEN_USE_SYSTEM_INCLUDE
|
||||
--------------------------
|
||||
|
||||
``AUTOGEN_USE_SYSTEM_INCLUDE`` is a boolean property that can be set
|
||||
on a target to indicate that the autogen target include directory should
|
||||
be added as a system include directory or normal include directory to the
|
||||
target.
|
||||
|
||||
See the :manual:`cmake-qt(7)` manual for more information on using CMake
|
||||
with Qt.
|
||||
|
||||
This property is initialized by the
|
||||
:variable:`CMAKE_AUTOGEN_USE_SYSTEM_INCLUDE` variable if it is set when
|
||||
a target is created.
|
||||
7
Help/release/dev/autogen-system-include.rst
Normal file
7
Help/release/dev/autogen-system-include.rst
Normal file
@@ -0,0 +1,7 @@
|
||||
autogen-system-include
|
||||
----------------------
|
||||
|
||||
* The :prop_tgt:`AUTOGEN_USE_SYSTEM_INCLUDE` target property and
|
||||
corresponding :variable:`CMAKE_AUTOGEN_USE_SYSTEM_INCLUDE` were
|
||||
added to explicitly control whether autogen headers are
|
||||
considered system headers.
|
||||
10
Help/variable/CMAKE_AUTOGEN_USE_SYSTEM_INCLUDE.rst
Normal file
10
Help/variable/CMAKE_AUTOGEN_USE_SYSTEM_INCLUDE.rst
Normal file
@@ -0,0 +1,10 @@
|
||||
CMAKE_AUTOGEN_USE_SYSTEM_INCLUDE
|
||||
--------------------------------
|
||||
|
||||
.. versionadded:: 3.27
|
||||
|
||||
This variable is used to initialize the :prop_tgt:`AUTOGEN_USE_SYSTEM_INCLUDE`
|
||||
property on all targets as they are created. See that target property for
|
||||
additional information.
|
||||
|
||||
By default ``CMAKE_AUTOGEN_USE_SYSTEM_INCLUDE`` is unset.
|
||||
Reference in New Issue
Block a user