try to use msvc with cmake on windows

This commit is contained in:
Benjamin Sergeant 2019-01-27 12:04:56 -08:00
parent 1ca1f612be
commit 91e67f6e53
2 changed files with 5 additions and 5 deletions

View File

@ -1,8 +1,8 @@
language: cpp
dist: xenial
compiler:
- clang
# compiler:
# - clang
# - gcc
os: osx

View File

@ -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)