ladybird/Meta/CMake/vcpkg/base-triplets
Andrew Kaster 8e5d28de3c CMake: Force vcpkg to use CMAKE_CXX_COMPILER as specified to CMake
Override the vcpkg/scripts/detect_compiler behavior of always pulling
$CC and $CXX at the time that vcpkg install is determined to need called
by forcing $ENV{CXX} and $ENV{CC} to our CMake-determined compiler.

This prevents strange behavior such as running the following:

./Meta/ladybird.sh run
    make changes...
ninja -C Build/ladybird

Where the second build step would be run without CC or CXX set in the
environment, causing a total cache miss from vcpkg and a full rebuild.

It also helps prevent full rebuilds when an IDE passes a slightly
different compiler to the build step than ladybird.sh.
2024-07-18 14:48:20 +02:00
..
arm64-linux.cmake CMake: Force vcpkg to use CMAKE_CXX_COMPILER as specified to CMake 2024-07-18 14:48:20 +02:00
arm64-osx.cmake CMake: Force vcpkg to use CMAKE_CXX_COMPILER as specified to CMake 2024-07-18 14:48:20 +02:00
base.cmake CMake: Force vcpkg to use CMAKE_CXX_COMPILER as specified to CMake 2024-07-18 14:48:20 +02:00
x64-linux.cmake CMake: Force vcpkg to use CMAKE_CXX_COMPILER as specified to CMake 2024-07-18 14:48:20 +02:00
x64-osx.cmake CMake: Force vcpkg to use CMAKE_CXX_COMPILER as specified to CMake 2024-07-18 14:48:20 +02:00