diff options
Diffstat (limited to 'make-msvc.bat')
-rw-r--r-- | make-msvc.bat | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/make-msvc.bat b/make-msvc.bat index 1a22835..80d99fe 100644 --- a/make-msvc.bat +++ b/make-msvc.bat @@ -21,10 +21,10 @@ if exist "%PROGRAM_FILES_DIR%\Microsoft Visual Studio\2019\Professional\VC\Auxil if exist "%PROGRAM_FILES_DIR%\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" set VCVARS_2019=%PROGRAM_FILES_DIR%\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat :: Build all libraries using Visual Studio 2008 and 2019 -call :BuildLibs "%VCVARS_2008%" x86 %LIB_NAME%_vs08.sln \vs2008 -call :BuildLibs "%VCVARS_2008%" x64 %LIB_NAME%_vs08.sln \vs2008 -call :BuildLibs "%VCVARS_2019%" x86 %LIB_NAME%_vs19.sln -call :BuildLibs "%VCVARS_2019%" x64 %LIB_NAME%_vs19.sln +if not "x%VCVARS_2008%" == "x" call :BuildLibs "%VCVARS_2008%" x86 %LIB_NAME%_vs08.sln \vs2008 +if not "x%VCVARS_2008%" == "x" call :BuildLibs "%VCVARS_2008%" x64 %LIB_NAME%_vs08.sln \vs2008 +if not "x%VCVARS_2019%" == "x" call :BuildLibs "%VCVARS_2019%" x86 %LIB_NAME%_vs19.sln +if not "x%VCVARS_2019%" == "x" call :BuildLibs "%VCVARS_2019%" x64 %LIB_NAME%_vs19.sln goto:eof ::----------------------------------------------------------------------------- |