[llvm-commits] [llvm] r98821 - /llvm/trunk/CMakeLists.txt
Oscar Fuentes
ofv at wanadoo.es
Thu Mar 18 06:52:05 PDT 2010
Author: ofv
Date: Thu Mar 18 08:52:05 2010
New Revision: 98821
URL: http://llvm.org/viewvc/llvm-project?rev=98821&view=rev
Log:
CMake: Add options for using static runtime on MSVC++ build.
Patch by Victor Zverovich!
Modified:
llvm/trunk/CMakeLists.txt
Modified: llvm/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/CMakeLists.txt?rev=98821&r1=98820&r2=98821&view=diff
==============================================================================
--- llvm/trunk/CMakeLists.txt (original)
+++ llvm/trunk/CMakeLists.txt Thu Mar 18 08:52:05 2010
@@ -217,7 +217,9 @@
# List of valid CRTs for MSVC
set(MSVC_CRT
MD
- MDd)
+ MDd
+ MT
+ MTd)
set(LLVM_USE_CRT "" CACHE STRING "Specify VC++ CRT to use for debug/release configurations.")
add_llvm_definitions( -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS )
More information about the llvm-commits
mailing list