-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
81f89ca
commit 2702628
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |