Update internal_utils.cmake
This commit is contained in:
parent
773cc78765
commit
e17907da80
@ -62,8 +62,7 @@ macro(config_compiler_and_linker)
|
|||||||
if (MSVC)
|
if (MSVC)
|
||||||
# Newlines inside flags variables break CMake's NMake generator.
|
# Newlines inside flags variables break CMake's NMake generator.
|
||||||
# TODO(vladl@google.com): Add -RTCs and -RTCu to debug builds.
|
# TODO(vladl@google.com): Add -RTCs and -RTCu to debug builds.
|
||||||
# -J does not set path correctly for pdb with spaces
|
set(cxx_base_flags "-GS -W4 -WX -wd4251 -wd4275 -nologo -J -Zi")
|
||||||
set(cxx_base_flags "-GS -W4 -WX -wd4251 -wd4275 -nologo -Zi")
|
|
||||||
if (MSVC_VERSION LESS 1400) # 1400 is Visual Studio 2005
|
if (MSVC_VERSION LESS 1400) # 1400 is Visual Studio 2005
|
||||||
# Suppress spurious warnings MSVC 7.1 sometimes issues.
|
# Suppress spurious warnings MSVC 7.1 sometimes issues.
|
||||||
# Forcing value to bool.
|
# Forcing value to bool.
|
||||||
|
Loading…
Reference in New Issue
Block a user