23 lines
607 B
Batchfile
23 lines
607 B
Batchfile
@echo off
|
|
REM VavCore Library Build Script
|
|
|
|
echo [BUILD] Building VavCore library...
|
|
|
|
set BUILD_CONFIG=%1
|
|
if "%BUILD_CONFIG%"=="" set BUILD_CONFIG=Debug
|
|
|
|
set PLATFORM=%2
|
|
if "%PLATFORM%"=="" set PLATFORM=x64
|
|
|
|
echo Configuration: %BUILD_CONFIG%
|
|
echo Platform: %PLATFORM%
|
|
|
|
"C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\MSBuild.exe" VavCore.vcxproj /p:Configuration=%BUILD_CONFIG% /p:Platform=%PLATFORM% /v:minimal
|
|
|
|
if errorlevel 1 (
|
|
echo [ERROR] VavCore build failed!
|
|
exit /b 1
|
|
)
|
|
|
|
echo [SUCCESS] VavCore library built successfully
|
|
echo Output: x64\%BUILD_CONFIG%\VavCore\ |