try to use msvc with cmake on windows
This commit is contained in:
parent
1ca1f612be
commit
91e67f6e53
@ -1,8 +1,8 @@
|
||||
language: cpp
|
||||
dist: xenial
|
||||
|
||||
compiler:
|
||||
- clang
|
||||
# compiler:
|
||||
# - clang
|
||||
# - gcc
|
||||
|
||||
os: osx
|
||||
|
@ -34,9 +34,9 @@ if osName == 'Linux':
|
||||
|
||||
sanitizerFlags = sanitizersFlags[sanitizer]
|
||||
|
||||
if osName == 'Windows':
|
||||
os.environ['CC'] = 'clang-cl'
|
||||
os.environ['CXX'] = 'clang-cl'
|
||||
# if osName == 'Windows':
|
||||
# os.environ['CC'] = 'clang-cl'
|
||||
# os.environ['CXX'] = 'clang-cl'
|
||||
|
||||
cmakeCmd = 'cmake -DCMAKE_BUILD_TYPE=Debug {} {} ..'.format(generator, sanitizerFlags)
|
||||
print(cmakeCmd)
|
||||
|
Loading…
x
Reference in New Issue
Block a user