Skip to content

Commit

Permalink
Add debug build script
Browse files Browse the repository at this point in the history
  • Loading branch information
abstractspoon committed Nov 11, 2024
1 parent 81f89ca commit 2702628
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions BuildDebug.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
pushd %~dp0
set REPO=%CD%
ECHO REPO=%REPO%

if NOT EXIST %REPO%\Core exit
if NOT EXIST %REPO%\Plugins exit

SET MSBUILD="C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe"

REM - Build core app using MSBuild
cd %REPO%\Core
%MSBUILD% .\ToDoList_Core.sln /t:Build /p:Configuration="Unicode Debug" /m /v:normal

REM - Check for build errors
pause

REM - Build plugins using MSBuild
SET BUILDPARAMS=/t:Build /p:Configuration=Debug /m /v:normal /noWarn:MSB3267;MSB3305;LNK4248;CS1762;LNK4221;MSB3026

REM - This is required to get the warning suppression to work
SET VCTargetsPath=C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\

cd %REPO%\Plugins
%MSBUILD% .\ToDoList_Plugins.sln %BUILDPARAMS%

REM - Check for build errors
pause

0 comments on commit 2702628

Please sign in to comment.