CMake: Add options for using static runtime on MSVC++ build.

Patch by Victor Zverovich!

llvm-svn: 98821
This commit is contained in:
Oscar Fuentes 2010-03-18 13:52:05 +00:00
parent a6b0969017
commit 294c226be4

View File

@ -217,7 +217,9 @@ if( MSVC )
# 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 )