This is a guide to set up the VC++ copiler setting in Amesim.
|
@echo off set VS_FOUND=0 REM Looking for Visual Studio 2019 compiler if DEFINED VS160COMNTOOLS call "%VS160COMNTOOLS%\..\..\VC\Auxiliary\Build\vcvarsall.bat" x64 if DEFINED VS160COMNTOOLS set VS_FOUND=1 if "x1"=="x%VS_FOUND%" goto :ok REM Looking for Visual Studio 2017 compiler if DEFINED VS150COMNTOOLS call "%VS150COMNTOOLS%\..\..\VC\Auxiliary\Build\vcvarsall.bat" x64 if DEFINED VS150COMNTOOLS set VS_FOUND=1 if "x1"=="x%VS_FOUND%" goto :ok REM Looking for Visual Studio 2015 compiler if DEFINED VS140COMNTOOLS call "%VS140COMNTOOLS%\..\..\VC\vcvarsall.bat" x64 if DEFINED VS140COMNTOOLS set VS_FOUND=1 if "x1"=="x%VS_FOUND%" goto :ok REM No Visual Studio compilers found goto :error :error set VS_FOUND= echo You have to setup Visual Studio 2015, 2017 or 2019 compiler exit /B 1 :ok set VS_FOUND= exit /B 0
|
버전별 환경변수 환경변수 값
|
| ||||||
| ||||||
@echo off REM Generated by Simcenter Amesim installer call "C:\apps\MVS15\VC\Auxiliary\Build\vcvars64.bat" @echo off REM Generated by Simcenter Amesim installer call " C:\apps\MVS15\Common7\Tools\VsDevCmd.bat"
|