README.txt
1 CMake Caches
2 ============
3
4 This directory contains CMake cache scripts that pre-populate the CMakeCache in
5 a build directory with commonly used settings.
6
7 The first two cache files in the directory are used by Apple to build the clang
8 distribution packaged with Xcode. You can use the caches with the following
9 CMake invocation:
10
11 cmake -G <build system>
12 -C <path to llvm>/tools/clang/cmake/caches/Apple-stage1.cmake
13 -DCMAKE_BUILD_TYPE=Release
14 [-DCMAKE_INSTALL_PREFIX=<install path>]
15 <path to llvm>
16
17 Building the `bootstrap` target from this generation will build clang, and
18 `bootstrap-install` will install it.
19