mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
CMake: Add options for using static runtime on MSVC++ build.
Patch by Victor Zverovich! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98821 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e7e891f6af
commit
3f0cc8c268
@ -217,7 +217,9 @@ if( MSVC )
|
|||||||
# List of valid CRTs for MSVC
|
# List of valid CRTs for MSVC
|
||||||
set(MSVC_CRT
|
set(MSVC_CRT
|
||||||
MD
|
MD
|
||||||
MDd)
|
MDd
|
||||||
|
MT
|
||||||
|
MTd)
|
||||||
|
|
||||||
set(LLVM_USE_CRT "" CACHE STRING "Specify VC++ CRT to use for debug/release configurations.")
|
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 )
|
add_llvm_definitions( -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS )
|
||||||
|
Loading…
Reference in New Issue
Block a user