mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-01 20:00:51 -05:00
Genex: Add TARGET_BUNDLE_DIR_NAME
Evaluate to the name of the bundle directory for a given bundle target. Fixes: #23409
This commit is contained in:
committed by
Brad King
parent
627b2eba6c
commit
997af2e1a6
@@ -1026,6 +1026,16 @@ which is just the string ``tgt``.
|
||||
Note that ``tgt`` is not added as a dependency of the target this
|
||||
expression is evaluated on (see policy :policy:`CMP0112`).
|
||||
|
||||
.. genex:: $<TARGET_BUNDLE_DIR_NAME:tgt>
|
||||
|
||||
.. versionadded:: 3.24
|
||||
|
||||
Name of the bundle directory (``my.app``, ``my.framework``, or
|
||||
``my.bundle``), where ``tgt`` is the name of a target.
|
||||
|
||||
Note that ``tgt`` is not added as a dependency of the target this
|
||||
expression is evaluated on (see policy :policy:`CMP0112`).
|
||||
|
||||
.. genex:: $<TARGET_BUNDLE_CONTENT_DIR:tgt>
|
||||
|
||||
.. versionadded:: 3.9
|
||||
|
||||
@@ -18,6 +18,7 @@ file name components no longer add a dependency on the evaluated target.
|
||||
- ``TARGET_PDB_FILE_NAME``
|
||||
- ``TARGET_PDB_FILE_DIR``
|
||||
- ``TARGET_BUNDLE_DIR``
|
||||
- ``TARGET_BUNDLE_DIR_NAME``
|
||||
- ``TARGET_BUNDLE_CONTENT_DIR``
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
target-bundle-dir-name-genex
|
||||
----------------------------
|
||||
|
||||
* Added the new :genex:`TARGET_BUNDLE_DIR_NAME` generator expression
|
||||
which evaluates to the name of the bundle directory for a given bundle
|
||||
target.
|
||||
Reference in New Issue
Block a user