diff options
author | Ladislav Zezula <ladislav.zezula@avast.com> | 2021-12-19 08:56:24 +0100 |
---|---|---|
committer | Ladislav Zezula <ladislav.zezula@avast.com> | 2021-12-19 08:56:24 +0100 |
commit | 76887d4bb0836b09a04c7ab578b6df5f1262812e (patch) | |
tree | 96442c11bc44a99cdfa335f4e817e2e80a95f2f9 /make-msvc.bat | |
parent | 103d908385af18e29b03f2110f1ead44bd1f15fe (diff) |
Unifying build scripts with CascLib
Diffstat (limited to 'make-msvc.bat')
-rw-r--r-- | make-msvc.bat | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/make-msvc.bat b/make-msvc.bat index 805f4a3..1a22835 100644 --- a/make-msvc.bat +++ b/make-msvc.bat @@ -20,11 +20,7 @@ if exist "%PROGRAM_FILES_DIR%\Microsoft Visual Studio\2019\Community\VC\Auxiliar if exist "%PROGRAM_FILES_DIR%\Microsoft Visual Studio\2019\Professional\VC\Auxiliary\Build\vcvarsall.bat" set VCVARS_2019=%PROGRAM_FILES_DIR%\Microsoft Visual Studio\2019\Professional\VC\Auxiliary\Build\vcvarsall.bat 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 -:: Copy the public headers -xcopy.exe /Y /D .\src\StormLib.h ..\aaa\inc >nul -xcopy.exe /Y /D .\src\StormPort.h ..\aaa\inc >nul - -:: Build all libraries using Visual Studio 2008 and 2017 +:: 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 @@ -83,5 +79,7 @@ goto:eof if not exist %1 goto:eof devenv.com %1 /project "%LIB_NAME%" /rebuild "%4|%2" if not exist ..\aaa goto:eof +xcopy.exe /Y /D .\src\StormLib.h ..\aaa\inc >nul +xcopy.exe /Y /D .\src\StormPort.h ..\aaa\inc >nul xcopy.exe /Y /D .\bin\StormLib\%2\%4\*.lib ..\aaa\%3 >nul goto:eof |