@@ -25,24 +25,24 @@ set verbose=/nologo /v:m
2525set kill =
2626
2727:CheckOpts
28- if ' %~1 ' == '-c' (set conf=%2 ) & shift & shift & goto CheckOpts
29- if ' %~1 ' == '-p' (set platf=%2 ) & shift & shift & goto CheckOpts
30- if ' %~1 ' == '-r' (set target=Rebuild) & shift & goto CheckOpts
31- if ' %~1 ' == '-t' (set target=%2 ) & shift & shift & goto CheckOpts
32- if ' %~1 ' == '-d' (set conf=Debug) & shift & goto CheckOpts
33- if ' %~1 ' == '-e' call " %dir% get_externals.bat" & shift & goto CheckOpts
34- if ' %~1 ' == '-m' (set parallel=/m) & shift & goto CheckOpts
35- if ' %~1 ' == '-M' (set parallel=) & shift & goto CheckOpts
36- if ' %~1 ' == '-v' (set verbose=/v:n) & shift & goto CheckOpts
37- if ' %~1 ' == '-k' (set kill=true) & shift & goto CheckOpts
38- if ' %~1 ' == '-V' shift & goto Version
39-
40- if ' %platf% ' == ' x64' (set vs_platf=x86_amd64)
28+ if " %~1 " == " -c " (set conf=%2 ) & shift & shift & goto CheckOpts
29+ if " %~1 " == " -p " (set platf=%2 ) & shift & shift & goto CheckOpts
30+ if " %~1 " == " -r " (set target=Rebuild) & shift & goto CheckOpts
31+ if " %~1 " == " -t " (set target=%2 ) & shift & shift & goto CheckOpts
32+ if " %~1 " == " -d " (set conf=Debug) & shift & goto CheckOpts
33+ if " %~1 " == " -e " call " %dir% get_externals.bat" & shift & goto CheckOpts
34+ if " %~1 " == " -m " (set parallel=/m) & shift & goto CheckOpts
35+ if " %~1 " == " -M " (set parallel=) & shift & goto CheckOpts
36+ if " %~1 " == " -v " (set verbose=/v:n) & shift & goto CheckOpts
37+ if " %~1 " == " -k " (set kill=true) & shift & goto CheckOpts
38+ if " %~1 " == " -V " shift & goto Version
39+
40+ if " %platf% " == " x64" (set vs_platf=x86_amd64)
4141
4242rem Setup the environment
4343call " %dir% env.bat" %vs_platf% > nul
4444
45- if ' %kill% ' == ' true' (
45+ if " %kill% " == " true" (
4646 msbuild /v:m /nologo /target:KillPython " %pcbuild% \pythoncore.vcxproj" /p:Configuration=%conf% /p:Platform=%platf% /p:KillPython=true
4747)
4848
0 commit comments