Skip to content

Commit

Permalink
Whoops (Fix build script)
Browse files Browse the repository at this point in the history
platform == debug, configuration == x86....
facepalm..
  • Loading branch information
Xottab-DUTY committed Dec 12, 2017
1 parent a55d45b commit 0b7065b
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions xrbuild.cmd
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
md res\bins\

set CONFIGURATION=%1
set PLATFORM=%2

if %PLATFORM% == 'Debug' if %CONFIGURATION% == 'x86' goto :DX86
if %PLATFORM% == 'Debug' if %CONFIGURATION% == 'x64' goto :DX64
if %PLATFORM% == 'Release' if %CONFIGURATION% == 'x86' goto :RX86
if %PLATFORM% == 'Release' if %CONFIGURATION% == 'x64' goto :RX64
if %CONFIGURATION%==Debug if %PLATFORM%==x86 goto :DX86
if %CONFIGURATION%==Debug if %PLATFORM%==x64 goto :DX64
if %CONFIGURATION%==Release if %PLATFORM%==x86 goto :RX86
if %CONFIGURATION%==Release if %PLATFORM%==x64 goto :RX64

echo FAIL
goto :END
Expand Down

0 comments on commit 0b7065b

Please sign in to comment.