mirror of
https://github.com/reactos/ninja.git
synced 2025-02-07 19:56:44 +00:00
configure.py: use /FS flag under vs2013 when compiling gtest
This commit is contained in:
parent
3e4bf25c40
commit
c0b1e4d75e
@ -328,7 +328,10 @@ if options.with_gtest:
|
||||
|
||||
gtest_all_incs = '-I%s -I%s' % (path, os.path.join(path, 'include'))
|
||||
if platform.is_msvc():
|
||||
gtest_cflags = '/nologo /EHsc /Zi /D_VARIADIC_MAX=10 ' + gtest_all_incs
|
||||
gtest_cflags = '/nologo /EHsc /Zi /D_VARIADIC_MAX=10 '
|
||||
if platform.msvc_needs_fs():
|
||||
gtest_cflags += '/FS '
|
||||
gtest_cflags += gtest_all_incs
|
||||
else:
|
||||
gtest_cflags = '-fvisibility=hidden ' + gtest_all_incs
|
||||
objs += n.build(built('gtest-all' + objext), 'cxx',
|
||||
|
Loading…
x
Reference in New Issue
Block a user