We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f0bf135 commit 5c2725dCopy full SHA for 5c2725d
1 file changed
PCbuild/build.bat
@@ -5,14 +5,15 @@ rem just for convenience.
5
setlocal
6
set platf=Win32
7
set conf=Release
8
-set build=
+set target=build
9
+set dir=%~dp0
10
11
:CheckOpts
12
if "%1"=="-c" (set conf=%2) & shift & shift & goto CheckOpts
13
if "%1"=="-p" (set platf=%2) & shift & shift & goto CheckOpts
-if "%1"=="-r" (set build=/rebuild) & shift & goto CheckOpts
14
+if "%1"=="-r" (set target=rebuild) & shift & goto CheckOpts
15
if "%1"=="-d" (set conf=Debug) & shift & goto CheckOpts
16
-set cmd=vcbuild /useenv pcbuild.sln %build% "%conf%|%platf%"
17
+set cmd=msbuild /p:useenv=true %dir%pcbuild.sln /t:%target% /p:Configuration=%conf% /p:Platform=%platf%
18
echo %cmd%
19
%cmd%
0 commit comments