summaryrefslogtreecommitdiffstats
path: root/Help/prop_tgt/MACOSX_RPATH.rst
blob: acd5a7aa48b59cf6bcbade9f3040da0f162b9ae1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
MACOSX_RPATH
------------

Whether this target on macOS or iOS is located at runtime using rpaths.

When this property is set to ``TRUE``, the directory portion of
the ``install_name`` field of this shared library will be ``@rpath``
unless overridden by :prop_tgt:`INSTALL_NAME_DIR`.  This indicates
the shared library is to be found at runtime using runtime
paths (rpaths).

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

Runtime paths will also be embedded in binaries using this target and
can be controlled by the :prop_tgt:`INSTALL_RPATH` target property on
the target linking to this target.

Policy :policy:`CMP0042` was introduced to change the default value of
``MACOSX_RPATH`` to ``TRUE``.  This is because use of ``@rpath`` is a
more flexible and powerful alternative to ``@executable_path`` and
``@loader_path``.
lass='ls-dir' href='/oss-git/Qt.git/tree/tools/qvfb/images?h=v4.8.3&id=2db49458c00b17575f04947af7b806502a06bf40'>images75logstatsplain -rw-r--r--main.cpp5015logstatsplain -rw-r--r--qanimationwriter.cpp13197logstatsplain -rw-r--r--qanimationwriter.h2228logstatsplain -rw-r--r--qtopiakeysym.h2448logstatsplain -rw-r--r--qvfb.cpp34693logstatsplain -rw-r--r--qvfb.h4029logstatsplain -rw-r--r--qvfb.pro1710logstatsplain -rw-r--r--qvfb.qrc148logstatsplain -rw-r--r--qvfbmmap.cpp5638logstatsplain -rw-r--r--qvfbmmap.h2716logstatsplain -rw-r--r--qvfbprotocol.cpp5508logstatsplain -rw-r--r--qvfbprotocol.h4631logstatsplain -rw-r--r--qvfbratedlg.cpp3173logstatsplain -rw-r--r--qvfbratedlg.h2141logstatsplain -rw-r--r--qvfbshmem.cpp8333logstatsplain -rw-r--r--qvfbshmem.h2690logstatsplain -rw-r--r--qvfbview.cpp25387logstatsplain -rw-r--r--qvfbview.h6910logstatsplain -rw-r--r--qvfbx11view.cpp9805logstatsplain -rw-r--r--qvfbx11view.h3580logstatsplain -rw-r--r--x11keyfaker.cpp27618logstatsplain -rw-r--r--x11keyfaker.h2339logstatsplain