This is a cobbled-together CMake toolchain file for using “hermetic Xcode”, rather than the system-installed one. It is not used by default. It is meant to be used on automated builder bots to avoid depending on system dependencies, but can also be used locally.
Use this by passing -DCMAKE_TOOLCHAIN_FILE=path/to/HermeticXcode.cmake
to cmake
.
Notes:
ranlib
is a link to libtool
because those are the same binary with different names. (It needs to be a symlink because it chooses its behavior based on its filename.)