ladybird/Meta/gn/build/toolchain/compiler.gni
Andrew Kaster 6ee1afc9c0 Meta: Add third-party libraries to gn build with vcpkg install script
The vcpkg install is handled through an action to run vcpkg install with
the private --x-install-root flag that their CMake toolchain file uses
to install dependencies into a build-time directory.
2024-09-27 10:15:08 -06:00

17 lines
491 B
Text

declare_args() {
# Set to true when host compiler is clang so that clang flags will be passed to it
is_clang = current_os == "mac"
# Enable setting -fuse-ld and other flags for using the lld linker.
# Should not be set on macOS when using the default system compiler.
use_lld = false
# Use ccache as a compiler launcher for compile and link jobs
enable_ccache = true
# C compiler for native builds
host_cc = "cc"
# C++ compiler for native builds
host_cxx = "c++"
}