mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-25 16:31:33 +00:00
Lets the CMake GUI show a list of possible values for LLVM_USE_CRT
Patch by nobled! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110057 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
811edc1f1a
commit
cb95a2bf28
@ -222,6 +222,9 @@ if( MSVC )
|
||||
MTd)
|
||||
|
||||
set(LLVM_USE_CRT "" CACHE STRING "Specify VC++ CRT to use for debug/release configurations.")
|
||||
# Lets the GUI show a drop-down list of possible values, including
|
||||
# an empty string as the default:
|
||||
set_property(CACHE LLVM_USE_CRT PROPERTY STRINGS "";${MSVC_CRT})
|
||||
add_llvm_definitions( -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS )
|
||||
add_llvm_definitions( -D_SCL_SECURE_NO_WARNINGS -DCRT_NONSTDC_NO_WARNINGS )
|
||||
add_llvm_definitions( -D_SCL_SECURE_NO_DEPRECATE )
|
||||
|
Loading…
x
Reference in New Issue
Block a user