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