diff options
author | Brad King <brad.king@kitware.com> | 2019-06-21 16:00:44 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-06-21 16:00:44 (GMT) |
commit | 7dbd21fcf4a48917486a3f02fa9d70037fe0e854 (patch) | |
tree | 06afe896a716911a749a8e939a78ed6239acac85 /Help | |
parent | 036752cc0e5f98a611c23c044e3bc1b484b02f53 (diff) | |
parent | 96c6bc25845c31da4031f667b583baf6f121a1c2 (diff) | |
download | CMake-7dbd21fcf4a48917486a3f02fa9d70037fe0e854.zip CMake-7dbd21fcf4a48917486a3f02fa9d70037fe0e854.tar.gz CMake-7dbd21fcf4a48917486a3f02fa9d70037fe0e854.tar.bz2 |
Merge branch 'doc-IMPORTED_LOCATION' into release-3.15
Merge-request: !3466
Diffstat (limited to 'Help')
-rw-r--r-- | Help/prop_tgt/IMPORTED_LOCATION.rst | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/Help/prop_tgt/IMPORTED_LOCATION.rst b/Help/prop_tgt/IMPORTED_LOCATION.rst index d674f29..a9123cd 100644 --- a/Help/prop_tgt/IMPORTED_LOCATION.rst +++ b/Help/prop_tgt/IMPORTED_LOCATION.rst @@ -15,7 +15,14 @@ is the location of the ``.dll`` part of the library. For ``UNKNOWN`` libraries this is the location of the file to be linked. Ignored for non-imported targets. -Projects may skip ``IMPORTED_LOCATION`` if the configuration-specific -property :prop_tgt:`IMPORTED_LOCATION_<CONFIG>` is set. To get the location -of an imported target read one of the :prop_tgt:`LOCATION` or -``LOCATION_<CONFIG>`` properties. +The ``IMPORTED_LOCATION`` target property may be overridden for a +given configuration ``<CONFIG>`` by the configuration-specific +:prop_tgt:`IMPORTED_LOCATION_<CONFIG>` target property. Furthermore, +the :prop_tgt:`MAP_IMPORTED_CONFIG_<CONFIG>` target property may be +used to map between a project's configurations and those of an imported +target. If none of these is set then the name of any other configuration +listed in the :prop_tgt:`IMPORTED_CONFIGURATIONS` target property may be +selected and its :prop_tgt:`IMPORTED_LOCATION_<CONFIG>` value used. + +To get the location of an imported target read one of the :prop_tgt:`LOCATION` +or ``LOCATION_<CONFIG>`` properties. |