summaryrefslogtreecommitdiff
path: root/Help/prop_tgt/BUILD_WITH_INSTALL_NAME_DIR.rst
diff options
context:
space:
mode:
authorClinton Stimpson <clinton@elemtech.com>2017-02-09 08:05:10 -0700
committerClinton Stimpson <clinton@elemtech.com>2017-02-14 14:28:07 -0700
commitf7b9bf41c5386dfc38b7a722f75b0e23a02d542b (patch)
treeb82db110b72d3dd02467b43dcf2ec61da12be126 /Help/prop_tgt/BUILD_WITH_INSTALL_NAME_DIR.rst
parent4bff2d14fd3010ba4aa1bfc3eda2fb2cdcc5da0f (diff)
downloadcmake-f7b9bf41c5386dfc38b7a722f75b0e23a02d542b.tar.gz
Apple: Add BUILD_WITH_INSTALL_NAME_DIR target property
This new property controls whether to apply INSTALL_NAME_DIR to the build tree. It also overrides BUILD_WITH_INSTALL_RPATH.
Diffstat (limited to 'Help/prop_tgt/BUILD_WITH_INSTALL_NAME_DIR.rst')
-rw-r--r--Help/prop_tgt/BUILD_WITH_INSTALL_NAME_DIR.rst13
1 files changed, 13 insertions, 0 deletions
diff --git a/Help/prop_tgt/BUILD_WITH_INSTALL_NAME_DIR.rst b/Help/prop_tgt/BUILD_WITH_INSTALL_NAME_DIR.rst
new file mode 100644
index 0000000000..7e02518de5
--- /dev/null
+++ b/Help/prop_tgt/BUILD_WITH_INSTALL_NAME_DIR.rst
@@ -0,0 +1,13 @@
+BUILD_WITH_INSTALL_NAME_DIR
+---------------------------
+
+``BUILD_WITH_INSTALL_NAME_DIR`` is a boolean specifying whether the macOS
+``install_name`` of a target in the build tree uses the directory given by
+:prop_tgt:`INSTALL_NAME_DIR`. This setting only applies to targets on macOS.
+
+This property is initialized by the value of the variable
+:variable:`CMAKE_BUILD_WITH_INSTALL_NAME_DIR` if it is set when a target is
+created.
+
+If this property is not set, the value of :prop_tgt:`BUILD_WITH_INSTALL_RPATH`
+is used in its place.