mirror of
https://github.com/reactos/CMake.git
synced 2024-12-13 14:27:23 +00:00
53e89b6ab0
Add `CMAKE_SYSROOT_COMPILE` and `CMAKE_SYSROOT_LINK` variables to as operation-specific alternatives to `CMAKE_SYSROOT`. This will be useful for Android NDKs that compile and link with different sysroot values (e.g. `r14` with unified headers). Co-Author: Florent Castelli <florent.castelli@gmail.com>
10 lines
322 B
ReStructuredText
10 lines
322 B
ReStructuredText
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.
|