diff options
author | Craig Scott <craig.scott@crascit.com> | 2019-11-13 12:25:15 (GMT) |
---|---|---|
committer | Craig Scott <craig.scott@crascit.com> | 2019-11-13 13:49:31 (GMT) |
commit | cc88ede7a37f8180f670c0d6036ba40cf005c7b9 (patch) | |
tree | b8c6613d5c70f2253b5e28da77c459d7a7c69c1a /Help/prop_tgt/INTERFACE_PRECOMPILE_HEADERS.rst | |
parent | dae9a808fe0cb039298fab75459e3803403c5194 (diff) | |
download | CMake-cc88ede7a37f8180f670c0d6036ba40cf005c7b9.zip CMake-cc88ede7a37f8180f670c0d6036ba40cf005c7b9.tar.gz CMake-cc88ede7a37f8180f670c0d6036ba40cf005c7b9.tar.bz2 |
Help: Provide guidance on INTERFACE for target_precompile_headers()
Fixes: #19953
Diffstat (limited to 'Help/prop_tgt/INTERFACE_PRECOMPILE_HEADERS.rst')
-rw-r--r-- | Help/prop_tgt/INTERFACE_PRECOMPILE_HEADERS.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Help/prop_tgt/INTERFACE_PRECOMPILE_HEADERS.rst b/Help/prop_tgt/INTERFACE_PRECOMPILE_HEADERS.rst index 8ff7e8b..e285407 100644 --- a/Help/prop_tgt/INTERFACE_PRECOMPILE_HEADERS.rst +++ b/Help/prop_tgt/INTERFACE_PRECOMPILE_HEADERS.rst @@ -7,6 +7,8 @@ Targets may populate this property to publish the header files for consuming targets to precompile. The :command:`target_precompile_headers` command populates this property with values given to the ``PUBLIC`` and ``INTERFACE`` keywords. Projects may also get and set the property directly. +See the discussion in :command:`target_precompile_headers` for guidance on +appropriate use of this property for installed or exported targets. Contents of ``INTERFACE_PRECOMPILE_HEADERS`` may use "generator expressions" with the syntax ``$<...>``. See the :manual:`cmake-generator-expressions(7)` |