mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-16 22:37:30 +08:00
Help: Add documentation and release notes for INSTALL_NAME_DIR genex
This commit is contained in:
@@ -596,7 +596,8 @@ Target-Dependent Queries
|
||||
requirement.
|
||||
``$<INSTALL_PREFIX>``
|
||||
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
|
||||
--------------------------
|
||||
|
@@ -10,3 +10,7 @@ installed targets.
|
||||
This property is initialized by the value of the variable
|
||||
:variable:`CMAKE_INSTALL_NAME_DIR` if it is set when a target is
|
||||
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.
|
||||
|
7
Help/release/dev/install-name-dir-genex.rst
Normal file
7
Help/release/dev/install-name-dir-genex.rst
Normal 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.
|
Reference in New Issue
Block a user