[Docs] Updating CMake docs to include LLVM_OPTIMIZED_TABLEGEN
authorChris Bieneman <beanz@apple.com>
Thu, 24 Mar 2016 18:46:43 +0000 (18:46 +0000)
committerChris Bieneman <beanz@apple.com>
Thu, 24 Mar 2016 18:46:43 +0000 (18:46 +0000)
This is based on feedback on llvm-commits from Sean Silvas.

llvm-svn: 264318

llvm/docs/CMake.rst

index 0bd92bf..8b441a4 100644 (file)
@@ -474,6 +474,12 @@ LLVM-specific variables
             If you want to build LLVM as a shared library, you should use the
             ``LLVM_BUILD_LLVM_DYLIB`` option.
 
+**LLVM_OPTIMIZED_TABLEGEN**:BOOL
+  If enabled and building a debug or asserts build the CMake build system will
+  generate a Release build tree to build a fully optimized tablegen for use
+  during the build. Enabling this option can significantly speed up build times
+  especially when building LLVM in Debug configurations.
+
 CMake Caches
 ============