CMake/Help
Stephen Kelly 7521da2852 Introduce CMAKE_STAGING_PREFIX variable.
This variable can be useful in cross-compiling contexts where the
sysroot is read-only or where the sysroot should otherwise remain
pristine.

If the new CMAKE_STAGING_PREFIX variable is set, it is used instead
of CMAKE_INSTALL_PREFIX when generating the installation rules in
cmake_install.cmake.

This way, the CMAKE_INSTALL_PREFIX variable
always refers to the installation prefix on the target device, regardless
of whether host==target.

If any -rpath paths passed to the linker contain the CMAKE_STAGING_PREFIX,
the matching path fragments are replaced with the CMAKE_INSTALL_PREFIX.
Matching paths in the -rpath-link are not transformed.

The cross-prefix usr-move workaround is assumed not to require extension
regarding CMAKE_STAGING_PREFIX. The staging area is a single prefix, so
there is no scope for cross-prefix symlinks. The CMAKE_INSTALL_PREFIX
is still used to determine the workaround path, and that variable
remains the relevant one even if CMAKE_STAGING_PREFIX is used. If the
generated export files are deployed to the target, the workaround
will still be in place, and still be employed if required.
2013-11-21 11:48:03 +01:00
..
command Introduce CMAKE_STAGING_PREFIX variable. 2013-11-21 11:48:03 +01:00
generator VS: Add version year to generator names 2013-10-28 13:43:14 -04:00
include Help: Factor out COMPILE_DEFINITIONS disclaimer duplication 2013-10-16 09:22:38 -04:00
manual Introduce CMAKE_STAGING_PREFIX variable. 2013-11-21 11:48:03 +01:00
module Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
policy CMP0037: Extend policy to reserved names and custom targets 2013-11-19 09:44:22 -05:00
prop_cache Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
prop_dir Help: Factor out cmake-generator-expressions manual page 2013-10-16 09:22:38 -04:00
prop_gbl Add the AUTOGEN_TARGETS_FOLDER and obsolete AUTOMOC_TARGETS_FOLDER. 2013-10-24 11:50:47 +02:00
prop_sf Add automatic rcc invocation for Qt. 2013-10-24 12:30:41 +02:00
prop_test Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
prop_tgt Fix INTERFACE_LINK_LIBRARIES documentation typos 2013-11-04 08:33:38 -05:00
variable Introduce CMAKE_STAGING_PREFIX variable. 2013-11-21 11:48:03 +01:00
index.rst Help: Add cmake-language.7 manual 2013-11-08 08:41:46 -05:00