summaryrefslogtreecommitdiff
path: root/share/cmake-3.18/Help/prop_tgt/BUILD_RPATH.rst
blob: d978b9439cba70fe9961cf5b2de941eb27709b1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
BUILD_RPATH
-----------

A :ref:`semicolon-separated list <CMake Language Lists>` specifying runtime path (``RPATH``)
entries to add to binaries linked in the build tree (for platforms that
support it).  The entries will *not* be used for binaries in the install
tree.  See also the :prop_tgt:`INSTALL_RPATH` target property.

This property is initialized by the value of the variable
:variable:`CMAKE_BUILD_RPATH` if it is set when a target is created.

This property supports
:manual:`generator expressions <cmake-generator-expressions(7)>`.