support VS2022 Community + build tools
parent
ba32440e40
commit
fe0b1fcefc
@ -1,4 +1,8 @@
|
|||||||
|
if exist "%ProgramFiles(x86)%\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\Build\vcvarsall.bat" (
|
||||||
|
call "%ProgramFiles(x86)%\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\Build\vcvarsall.bat" amd64
|
||||||
|
) else (
|
||||||
call "%ProgramFiles%\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" amd64
|
call "%ProgramFiles%\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" amd64
|
||||||
|
)
|
||||||
cd VC2022
|
cd VC2022
|
||||||
msbuild /m /p:Platform=x64 /p:Configuration=RelWithDebInfo ALL_BUILD.vcxproj
|
msbuild /m /p:Platform=x64 /p:Configuration=RelWithDebInfo ALL_BUILD.vcxproj
|
||||||
cd ..
|
cd ..
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
|
if exist "%ProgramFiles(x86)%\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\Build\vcvarsall.bat" (
|
||||||
|
call "%ProgramFiles(x86)%\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\Build\vcvarsall.bat" amd64
|
||||||
|
) else (
|
||||||
call "%ProgramFiles%\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" amd64
|
call "%ProgramFiles%\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" amd64
|
||||||
|
)
|
||||||
cd VC2022
|
cd VC2022
|
||||||
msbuild /m /p:Platform=x64 /p:Configuration=RelWithDebInfo INSTALL.vcxproj
|
msbuild /m /p:Platform=x64 /p:Configuration=RelWithDebInfo INSTALL.vcxproj
|
||||||
cd ..
|
cd ..
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
|
if exist "%ProgramFiles(x86)%\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\Build\vcvarsall.bat" (
|
||||||
|
call "%ProgramFiles(x86)%\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\Build\vcvarsall.bat" amd64
|
||||||
|
) else (
|
||||||
call "%ProgramFiles%\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" amd64
|
call "%ProgramFiles%\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" amd64
|
||||||
|
)
|
||||||
cd VC2022
|
cd VC2022
|
||||||
msbuild /m /p:Platform=x64 /p:Configuration=Release INSTALL.vcxproj
|
msbuild /m /p:Platform=x64 /p:Configuration=Release INSTALL.vcxproj
|
||||||
cd ..
|
cd ..
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
@echo off
|
@echo off
|
||||||
|
if exist "%ProgramFiles(x86)%\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\Build\vcvarsall.bat" (
|
||||||
|
call "%ProgramFiles(x86)%\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\Build\vcvarsall.bat" amd64
|
||||||
|
) else (
|
||||||
call "%ProgramFiles%\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" amd64
|
call "%ProgramFiles%\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" amd64
|
||||||
|
)
|
||||||
cd VC2022
|
cd VC2022
|
||||||
msbuild /m /p:Platform=x64 /p:Configuration=Release PACKAGE.vcxproj
|
msbuild /m /p:Platform=x64 /p:Configuration=Release PACKAGE.vcxproj
|
||||||
cd ..
|
cd ..
|
||||||
|
Loading…
Reference in New Issue