summaryrefslogtreecommitdiff
path: root/Help/prop_tgt
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2021-10-08 09:20:46 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2021-10-08 09:20:46 +0900
commitd8d99d7e7a4052f3fa2132d17074cc65ad8bb5a6 (patch)
tree3b73a04e64392300d9670f222fb550669ddad69c /Help/prop_tgt
parent99a800848c2512f7c93504fc7b28e6182a6ceb93 (diff)
downloadcmake-d8d99d7e7a4052f3fa2132d17074cc65ad8bb5a6.tar.gz
cmake-d8d99d7e7a4052f3fa2132d17074cc65ad8bb5a6.tar.bz2
cmake-d8d99d7e7a4052f3fa2132d17074cc65ad8bb5a6.zip
Imported Upstream version 3.20.1upstream/3.20.1
Diffstat (limited to 'Help/prop_tgt')
-rw-r--r--Help/prop_tgt/IMPORTED_LOCATION.rst8
-rw-r--r--Help/prop_tgt/INSTALL_NAME_DIR.rst8
2 files changed, 9 insertions, 7 deletions
diff --git a/Help/prop_tgt/IMPORTED_LOCATION.rst b/Help/prop_tgt/IMPORTED_LOCATION.rst
index f0a1646b1..ddd910aaf 100644
--- a/Help/prop_tgt/IMPORTED_LOCATION.rst
+++ b/Help/prop_tgt/IMPORTED_LOCATION.rst
@@ -4,12 +4,12 @@ IMPORTED_LOCATION
Full path to the main file on disk for an ``IMPORTED`` target.
Set this to the location of an ``IMPORTED`` target file on disk. For
-executables this is the location of the executable file. For bundles
-on macOS this is the location of the executable file inside
-``Contents/MacOS`` under the application bundle folder. For ``STATIC``
+executables this is the location of the executable file. For ``STATIC``
libraries and modules this is the location of the library or module.
For ``SHARED`` libraries on non-DLL platforms this is the location of the
-shared library. For frameworks on macOS this is the location of the
+shared library. For application bundles on macOS this is the location of
+the executable file inside ``Contents/MacOS`` within the bundle folder.
+For frameworks on macOS this is the location of the
library file symlink just inside the framework folder. For DLLs this
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
diff --git a/Help/prop_tgt/INSTALL_NAME_DIR.rst b/Help/prop_tgt/INSTALL_NAME_DIR.rst
index 8faefb71c..47a003774 100644
--- a/Help/prop_tgt/INSTALL_NAME_DIR.rst
+++ b/Help/prop_tgt/INSTALL_NAME_DIR.rst
@@ -1,11 +1,13 @@
INSTALL_NAME_DIR
----------------
-macOS directory name for installed targets.
+Directory name for installed targets on Apple platforms.
``INSTALL_NAME_DIR`` is a string specifying the directory portion of the
-"install_name" field of shared libraries on macOS to use in the
-installed targets.
+"install_name" field of shared libraries on Apple platforms for
+installed targets. When not set, the default directory used is determined
+by :prop_tgt:`MACOSX_RPATH`. Policies :policy:`CMP0068` and :policy:`CMP0042`
+are also relevant.
This property is initialized by the value of the variable
:variable:`CMAKE_INSTALL_NAME_DIR` if it is set when a target is