aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2013-11-13 19:12:02 +0000
committerHans Wennborg <hans@hanshq.net>2013-11-13 19:12:02 +0000
commit4ac2e3c604f938ce3db5dc0af413e1010c1b99c9 (patch)
tree8c66b5e1b5da87e4781db932e385eaca532f42de /docs
parent929bdb23794b615dc6b0cc59db21f0450c3ce33b (diff)
downloadexternal_llvm-4ac2e3c604f938ce3db5dc0af413e1010c1b99c9.zip
external_llvm-4ac2e3c604f938ce3db5dc0af413e1010c1b99c9.tar.gz
external_llvm-4ac2e3c604f938ce3db5dc0af413e1010c1b99c9.tar.bz2
CMake: make building with /MT an option instead of always forcing it
for release builds. This is a follow-up to r194589. Aaron pointed out that building libraries with /MT and using them in an application that uses a different run-time library can be a bad idea. Move the option to build with /MT behind a CMake option so it can be turned on selectively, such as when building the toolchain installer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194596 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r--docs/CMake.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/CMake.rst b/docs/CMake.rst
index c9fe538..69eeaab 100644
--- a/docs/CMake.rst
+++ b/docs/CMake.rst
@@ -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
========================