1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-18 00:02:21 +08:00

Help: Add documentation and release notes for INSTALL_NAME_DIR genex

This commit is contained in:
Kyle Edwards
2019-11-04 12:08:53 -05:00
parent deeab72aae
commit a0e2e0ca97
3 changed files with 13 additions and 1 deletions

View File

@@ -596,7 +596,8 @@ Target-Dependent Queries
requirement. requirement.
``$<INSTALL_PREFIX>`` ``$<INSTALL_PREFIX>``
Content of the install prefix when the target is exported via Content of the install prefix when the target is exported via
:command:`install(EXPORT)` and empty otherwise. :command:`install(EXPORT)`, or when evaluated in
:prop_tgt:`INSTALL_NAME_DIR`, and empty otherwise.
Output-Related Expressions Output-Related Expressions
-------------------------- --------------------------

View File

@@ -10,3 +10,7 @@ installed targets.
This property is initialized by the value of the variable This property is initialized by the value of the variable
:variable:`CMAKE_INSTALL_NAME_DIR` if it is set when a target is :variable:`CMAKE_INSTALL_NAME_DIR` if it is set when a target is
created. created.
This property supports :manual:`generator expressions <cmake-generator-expressions(7)>`.
In particular, the ``$<INSTALL_PREFIX>`` generator expression can be used to set the
directory relative to the install-time prefix.

View File

@@ -0,0 +1,7 @@
install-name-dir-genex
----------------------
* The :prop_tgt:`INSTALL_NAME_DIR` target property now supports
:manual:`generator expressions <cmake-generator-expressions(7)>`.
In particular, the ``$<INSTALL_PREFIX>`` generator expression can
be used to set the directory relative to the install-time prefix.