[CMake] Adding LLVM_CREATE_XCODE_TOOLCHAIN to the CMake documentation page.
[oota-llvm.git] / docs / CMake.rst
index 0810bed90d4f5e532fe67bb0633e34ca6f299596..38199e5cc5879dd89410e600f94d5822954c2c97 100644 (file)
@@ -436,6 +436,12 @@ LLVM-specific variables
   If enabled then sphinx documentation warnings will be treated as
   errors. Defaults to ON.
 
+**LLVM_CREATE_XCODE_TOOLCHAIN**:BOOL
+  OS X Only: If enabled CMake will generate a target named
+  'install-xcode-toolchain'. This target will create a directory at
+  $CMAKE_INSTALL_PREFIX/Toolchains containing an xctoolchain directory which can
+  be used to override the default system tools. 
+
 Executing the test suite
 ========================