From 0a45f083f0cff631ed9a524cb9483b97a8cb9bd1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Attila=20T=2E=20=C3=81fra?= Date: Sat, 2 Nov 2024 00:09:51 +0200 Subject: [PATCH] fix --- scripts/build.py | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/scripts/build.py b/scripts/build.py index 85e9bc76..fd5884b4 100755 --- a/scripts/build.py +++ b/scripts/build.py @@ -85,18 +85,7 @@ def check_symbols_linux(filename): config_cmd += f' -D CMAKE_C_COMPILER:FILEPATH="{cc}"' config_cmd += f' -D CMAKE_CXX_COMPILER:FILEPATH="{cxx}"' else: - msbuild = True - if cfg.compiler == 'default': - cfg.compiler = 'msvc17' - for compiler in cfg.compiler.split('-'): - if compiler.startswith('msvc'): - msvc_arch = {'x86_64': 'x64', 'arm64': 'ARM64'}[ARCH] - config_cmd += {'msvc15' : ' -G "Visual Studio 15 2017 Win64"', - 'msvc16' : f' -G "Visual Studio 16 2019" -A {msvc_arch}', - 'msvc17' : f' -G "Visual Studio 17 2022" -A {msvc_arch}'}[compiler] - elif compiler.startswith('icc'): - icc_version = {'18' : '18.0', '19' : '19.0', '20' : '19.1', '21' : '19.2'}[compiler[3:]] - config_cmd += f' -T "Intel C++ Compiler {icc_version}"' + config_cmd += ' -G Ninja' else: if OS == 'linux': config_cmd += ' -G Ninja'