let cmake deal with VS2022 instead :)
parent
3459d61dc4
commit
80428d8e6d
@ -1,3 +1 @@
|
||||
call msvc_include.bat
|
||||
%msbuild% /m /p:Platform=x64 /p:Configuration=RelWithDebInfo VC2022/ALL_BUILD.vcxproj
|
||||
|
||||
cmake --build VC2022 -t ALL_BUILD -- /m /p:Platform=x64 /p:Configuration=RelWithDebInfo
|
||||
|
@ -1,3 +1 @@
|
||||
call msvc_include.bat
|
||||
%msbuild% /m /p:Platform=x64 /p:Configuration=Release VC2022/ALL_BUILD.vcxproj
|
||||
pause
|
||||
cmake --build VC2022 -t ALL_BUILD -- /m /p:Platform=x64 /p:Configuration=Release
|
||||
|
@ -1,2 +1 @@
|
||||
call msvc_include.bat
|
||||
%msbuild% /m /p:Platform=x64 /p:Configuration=RelWithDebInfo VC2022/INSTALL.vcxproj
|
||||
cmake --build VC2022 -t INSTALL -- /m /p:Platform=x64 /p:Configuration=RelWithDebInfo
|
||||
|
@ -1,2 +1 @@
|
||||
call msvc_include.bat
|
||||
%msbuild% /m /p:Platform=x64 /p:Configuration=Release VC2022/INSTALL.vcxproj
|
||||
cmake --build VC2022 -t INSTALL -- /m /p:Platform=x64 /p:Configuration=Release
|
||||
|
@ -1,9 +0,0 @@
|
||||
@ECHO OFF
|
||||
setlocal enabledelayedexpansion
|
||||
|
||||
FOR /F "usebackq tokens=*" %%F IN (`"%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe" -requires Microsoft.Component.MSBuild -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64 -version [17.0^,] -products * -find MSBuild\**\Bin\MSBuild.exe`) DO (
|
||||
endlocal & set "MSBUILD="%%F""
|
||||
goto :EOF
|
||||
)
|
||||
echo "Cannot find a Visual Studio 2022/Build Tools installation"
|
||||
exit 1
|
@ -1,3 +1,2 @@
|
||||
call msvc_include.bat
|
||||
%msbuild% /m /p:Platform=x64 /p:Configuration=RelWithDebInfo VC2022/PACKAGE.vcxproj
|
||||
cmake --build VC2022 -t PACKAGE -- /m /p:Platform=x64 /p:Configuration=RelWithDebInfo
|
||||
exit %ERRORLEVEL%
|
||||
|
@ -1,2 +1 @@
|
||||
call msvc_include.bat
|
||||
%msbuild% /m /p:Platform=x64 /p:Configuration=Release VC2022/PACKAGE.vcxproj
|
||||
cmake --build VC2022 -t PACKAGE -- /m /p:Platform=x64 /p:Configuration=Release
|
||||
|
Loading…
Reference in New Issue