mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 21:31:08 -06:00
Merge topic 'split-sysroot'
53e89b6a Add options for separate compile and link sysroots
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !819
This commit is contained in:
@@ -171,6 +171,8 @@ Variables that Change Behavior
|
||||
/variable/CMAKE_SUBLIME_TEXT_2_ENV_SETTINGS
|
||||
/variable/CMAKE_SUBLIME_TEXT_2_EXCLUDE_BUILD_TREE
|
||||
/variable/CMAKE_SYSROOT
|
||||
/variable/CMAKE_SYSROOT_COMPILE
|
||||
/variable/CMAKE_SYSROOT_LINK
|
||||
/variable/CMAKE_SYSTEM_APPBUNDLE_PATH
|
||||
/variable/CMAKE_SYSTEM_FRAMEWORK_PATH
|
||||
/variable/CMAKE_SYSTEM_IGNORE_PATH
|
||||
|
||||
5
Help/release/dev/split-sysroot.rst
Normal file
5
Help/release/dev/split-sysroot.rst
Normal file
@@ -0,0 +1,5 @@
|
||||
split-sysroot
|
||||
-------------
|
||||
|
||||
* The :variable:`CMAKE_SYSROOT_COMPILE` and :variable:`CMAKE_SYSROOT_LINK`
|
||||
variables were added to use separate sysroots for compiling and linking.
|
||||
@@ -10,3 +10,6 @@ paths searched by the ``find_*`` commands.
|
||||
|
||||
This variable may only be set in a toolchain file specified by
|
||||
the :variable:`CMAKE_TOOLCHAIN_FILE` variable.
|
||||
|
||||
See also the :variable:`CMAKE_SYSROOT_COMPILE` and
|
||||
:variable:`CMAKE_SYSROOT_LINK` variables.
|
||||
|
||||
9
Help/variable/CMAKE_SYSROOT_COMPILE.rst
Normal file
9
Help/variable/CMAKE_SYSROOT_COMPILE.rst
Normal file
@@ -0,0 +1,9 @@
|
||||
CMAKE_SYSROOT_COMPILE
|
||||
---------------------
|
||||
|
||||
Path to pass to the compiler in the ``--sysroot`` flag when compiling source
|
||||
files. This is the same as :variable:`CMAKE_SYSROOT` but is used only for
|
||||
compiling sources and not linking.
|
||||
|
||||
This variable may only be set in a toolchain file specified by
|
||||
the :variable:`CMAKE_TOOLCHAIN_FILE` variable.
|
||||
9
Help/variable/CMAKE_SYSROOT_LINK.rst
Normal file
9
Help/variable/CMAKE_SYSROOT_LINK.rst
Normal file
@@ -0,0 +1,9 @@
|
||||
CMAKE_SYSROOT_LINK
|
||||
------------------
|
||||
|
||||
Path to pass to the compiler in the ``--sysroot`` flag when linking. This is
|
||||
the same as :variable:`CMAKE_SYSROOT` but is used only for linking and not
|
||||
compiling sources.
|
||||
|
||||
This variable may only be set in a toolchain file specified by
|
||||
the :variable:`CMAKE_TOOLCHAIN_FILE` variable.
|
||||
Reference in New Issue
Block a user