aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorChris Bieneman <beanz@apple.com>2015-10-15 20:09:01 +0000
committerChris Bieneman <beanz@apple.com>2015-10-15 20:09:01 +0000
commit09178283c2d3013b9713121aef8115e20828070f (patch)
tree86fe261692db111dcb8ec537cac01f054a1ad96d /clang/lib/Frontend/CompilerInvocation.cpp
parentabde1c2b51d123d645f59a4c3feeae963b01fada (diff)
downloadllvm-09178283c2d3013b9713121aef8115e20828070f.zip
llvm-09178283c2d3013b9713121aef8115e20828070f.tar.gz
llvm-09178283c2d3013b9713121aef8115e20828070f.tar.bz2
[CMake] [Darwin] Add support for generating Xcode-compatible toolchains that xcodebuild and xcrun can search
Summary: Sometimes you want to install a custom compiler and use it like the system compiler without overriding the system compiler. This patch lets you create xctoolchains that the darwin command line tools can use. To use this patch set LLVM_CREATE_XCODE_TOOLCHAIN=On in your CMake invocation and build the `install-code-toolchain` target. After installation you can set the envar EXTERNAL_TOOLCHAINS_DIR to your installed Toolchains directory, and the TOOLCHAINS envar to the toolchain identifier (ex org.llvm.3.8.0svn). This will then cause /usr/bin/clang to call your newly installed clang. Reviewers: Bigcheese, bogner Subscribers: tobiasfar, llvm-commits Differential Revision: http://reviews.llvm.org/D13605 llvm-svn: 250450
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions