Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
yangql
googletest
Commits
b7d472f1
Commit
b7d472f1
authored
Mar 16, 2021
by
Andy Soffer
Browse files
Merge pull request #3291 from Be-ing:remove_zi_msvc
PiperOrigin-RevId: 363063211
parents
ac1d60c2
497db77a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
googletest/cmake/internal_utils.cmake
googletest/cmake/internal_utils.cmake
+1
-1
No files found.
googletest/cmake/internal_utils.cmake
View file @
b7d472f1
...
...
@@ -72,7 +72,7 @@ macro(config_compiler_and_linker)
if
(
MSVC
)
# Newlines inside flags variables break CMake's NMake generator.
# TODO(vladl@google.com): Add -RTCs and -RTCu to debug builds.
set
(
cxx_base_flags
"-GS -W4 -WX -wd4251 -wd4275 -nologo -J
-Zi
"
)
set
(
cxx_base_flags
"-GS -W4 -WX -wd4251 -wd4275 -nologo -J"
)
set
(
cxx_base_flags
"
${
cxx_base_flags
}
-D_UNICODE -DUNICODE -DWIN32 -D_WIN32"
)
set
(
cxx_base_flags
"
${
cxx_base_flags
}
-DSTRICT -DWIN32_LEAN_AND_MEAN"
)
set
(
cxx_exception_flags
"-EHsc -D_HAS_EXCEPTIONS=1"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment