summaryrefslogtreecommitdiff
path: root/share/cmake-3.22/Help/prop_tgt/INTERFACE_SYSTEM_INCLUDE_DIRECTORIES.rst
diff options
context:
space:
mode:
authorRyan Prichard <rprichard@google.com>2022-01-13 17:30:19 -0800
committerRyan Prichard <rprichard@google.com>2022-01-13 17:31:05 -0800
commitf6283abb0a655968016437be07d04370fd815e6c (patch)
tree939c8ec9b01b0e533cd19239f516224369ef9d0b /share/cmake-3.22/Help/prop_tgt/INTERFACE_SYSTEM_INCLUDE_DIRECTORIES.rst
parent38f8f35a5d463a866584b900146cc2986c6d16bc (diff)
downloadwindows-x86-f6283abb0a655968016437be07d04370fd815e6c.tar.gz
Fusion2: http://fusion2/2669b740-21e9-4d31-99f2-25f047c33f53 GCS path: gs://ndk-kokoro-release-artifacts/prod/ndk/cmake/windows_release/3/20211215-131021 Prebuilt updated using: ndk/scripts/update_kokoro_prebuilts.py Test: Treehugger, Kokoro presubmit Bug: http://b/213946898 Change-Id: Ie5521d3e7002eae5824acc69c0368ef328245d8e
Diffstat (limited to 'share/cmake-3.22/Help/prop_tgt/INTERFACE_SYSTEM_INCLUDE_DIRECTORIES.rst')
-rw-r--r--share/cmake-3.22/Help/prop_tgt/INTERFACE_SYSTEM_INCLUDE_DIRECTORIES.rst28
1 files changed, 28 insertions, 0 deletions
diff --git a/share/cmake-3.22/Help/prop_tgt/INTERFACE_SYSTEM_INCLUDE_DIRECTORIES.rst b/share/cmake-3.22/Help/prop_tgt/INTERFACE_SYSTEM_INCLUDE_DIRECTORIES.rst
new file mode 100644
index 0000000..a0a97ad
--- /dev/null
+++ b/share/cmake-3.22/Help/prop_tgt/INTERFACE_SYSTEM_INCLUDE_DIRECTORIES.rst
@@ -0,0 +1,28 @@
+INTERFACE_SYSTEM_INCLUDE_DIRECTORIES
+------------------------------------
+
+List of public system include directories for a library.
+
+Targets may populate this property to publish the include directories
+which contain system headers, and therefore should not result in
+compiler warnings. The :command:`target_include_directories(SYSTEM)`
+command signature populates this property with values given to the
+``PUBLIC`` and ``INTERFACE`` keywords.
+
+Projects may also get and set the property directly, but must be aware that
+adding directories to this property does not make those directories used
+during compilation. Adding directories to this property marks directories
+as ``SYSTEM`` which otherwise would be used in a non-``SYSTEM`` manner. This
+can appear similar to 'duplication', so prefer the
+high-level :command:`target_include_directories(SYSTEM)` command and avoid
+setting the property by low-level means.
+
+When target dependencies are specified using :command:`target_link_libraries`,
+CMake will read this property from all target dependencies to mark the
+same include directories as containing system headers.
+
+Contents of ``INTERFACE_SYSTEM_INCLUDE_DIRECTORIES`` may use "generator
+expressions" with the syntax ``$<...>``. See the
+:manual:`cmake-generator-expressions(7)` manual for available expressions.
+See the :manual:`cmake-buildsystem(7)` manual for more on defining
+buildsystem properties.