INTERFACE_POSITION_INDEPENDENT_CODE: add generator expressions support

Fixes: #16532
This commit is contained in:
Marc Chevrier
2018-09-28 17:30:22 +02:00
parent 17e98e00c4
commit 023188ffb4
13 changed files with 82 additions and 10 deletions

View File

@@ -14,3 +14,9 @@ undefined, then consumers will determine their
:prop_tgt:`POSITION_INDEPENDENT_CODE` property by other means. Consumers
must ensure that the targets that they link to have a consistent
requirement for their ``INTERFACE_POSITION_INDEPENDENT_CODE`` property.
Contents of ``INTERFACE_POSITION_INDEPENDENT_CODE`` 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.

View File

@@ -0,0 +1,5 @@
INTERFACE_POSITION_INDEPENDENT_CODE
-----------------------------------
* :prop_tgt:`INTERFACE_POSITION_INDEPENDENT_CODE` target property gains the
support of :manual:`generator expressions <cmake-generator-expressions(7)>`.