CMake: make building with /MT an option instead of always forcing it
[oota-llvm.git] / docs / CMake.rst
index c9fe538c9dfa1e2067a939758eda667260f4bc9c..69eeaab529d7b8c497793ed2fd91661dd6212485 100644 (file)
@@ -280,6 +280,11 @@ LLVM-specific variables
   are ``Address``, ``Memory`` and ``MemoryWithOrigins``. Defaults to empty
   string.
 
+**LLVM_STATIC_MSVC_RUNTIME**:BOOL
+  When building with MSVC, link against the static runtime library (/MT or /MTd
+  for release and debug builds, respectively) instead of the dynamic one.
+  Defaults to OFF.
+
 Executing the test suite
 ========================