2 # If set, this is prepended to compile action command lines (e.g. `"ccache"`).
5 # Set this to a clang build directory. If set, that clang is used as compiler.
6 # On Windows, setting this also causes lld-link to be used as linker.
7 # Example value: getenv("HOME") + "/src/llvm-build/Release+Asserts"
10 # Set this to the path to Android NDK r21. If set, cross compilation targeting
11 # Android will be enabled.
14 # Set this to the path of the Win SDK. Only used for cross compilation. If set, cross compilation targeting Windows will be enabled.
19 # Set if the host compiler is clang. On by default on Mac or if
20 # clang_base_path is set.
21 is_clang = host_os == "mac" || clang_base_path != ""
23 # Set this to true to link with LLD instead of the default linker.
24 use_lld = clang_base_path != ""
28 !(host_os == "win" && win_sysroot != ""),
29 "win_sysroot should only be used for cross compilation, use sysroot on Windows")