try to use clang with cmake on windows
This commit is contained in:
parent
0d80971328
commit
1b9e55d3f8
@ -34,6 +34,10 @@ if osName == 'Linux':
|
||||
|
||||
sanitizerFlags = sanitizersFlags[sanitizer]
|
||||
|
||||
if osName == 'Windows':
|
||||
os.environ['CC'] = 'clang-cl'
|
||||
# os.environ['CXX'] = 'clang-cl'
|
||||
|
||||
cmakeCmd = 'cmake -DCMAKE_BUILD_TYPE=Debug {} {} ..'.format(generator, sanitizerFlags)
|
||||
print(cmakeCmd)
|
||||
ret = os.system(cmakeCmd)
|
||||
|
Loading…
Reference in New Issue
Block a user