19 lines
673 B
Batchfile
19 lines
673 B
Batchfile
@echo off
|
|
echo Building V2GDecoder VC++ Project...
|
|
|
|
REM Check if Visual Studio 2022 is installed
|
|
if not exist "C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Current\Bin\MSBuild.exe" (
|
|
echo Visual Studio 2022 Professional not found!
|
|
echo Please install Visual Studio 2022 Professional or update the MSBuild path.
|
|
pause
|
|
exit /b 1
|
|
)
|
|
|
|
REM Set MSBuild path
|
|
set MSBUILD="C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Current\Bin\MSBuild.exe"
|
|
|
|
REM Build Debug x64 configuration
|
|
echo Building Debug x64 configuration...
|
|
%MSBUILD% V2GDecoderC.sln -property:Configuration=Debug -property:Platform=x64 -verbosity:normal
|
|
|
|
pause |