Skip to content

Commit

Permalink
Move SUBSYS variable to appveyor.cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmilk committed Apr 11, 2020
1 parent d78400f commit 69fc4bf
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CPP/appveyor.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ goto build_vc

:build_sdk
set PATH=%OPATH%
set SUBSYS="5.01"
call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" x86
call "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /Release /ia64 /xp
set OUTDIR=%APPVEYOR_BUILD_FOLDER%\bin-%VC%-ia64
Expand All @@ -60,14 +61,17 @@ goto %NEXT%
:build_vc
FOR /R .\ %%d IN (ARM X64 O) DO rd /S /Q %%d 2>NUL
set PATH=%OPATH%
set SUBSYS="5.01"
call "C:\Program Files (x86)\Microsoft Visual Studio %VC%\VC\vcvarsall.bat" x86
set OUTDIR=%APPVEYOR_BUILD_FOLDER%\bin-%VC%-x32
call build-x32.cmd
set PATH=%OPATH%
set SUBSYS="5.02"
call "C:\Program Files (x86)\Microsoft Visual Studio %VC%\VC\vcvarsall.bat" x86_amd64
set OUTDIR=%APPVEYOR_BUILD_FOLDER%\bin-%VC%-x64
call build-x64.cmd
set PATH=%OPATH%
set SUBSYS="6.02"
call "C:\Program Files (x86)\Microsoft Visual Studio %VC%\VC\vcvarsall.bat" x86_arm
set OUTDIR=%APPVEYOR_BUILD_FOLDER%\bin-%VC%-arm
call build-arm.cmd
Expand Down
2 changes: 1 addition & 1 deletion CPP/build-arm.cmd
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@echo off

set ROOT=%cd%\7zip
if not defined OUTDIR set OUTDIR=%ROOT%\binArm
if not defined OUTDIR set OUTDIR=%ROOT%\binArm
if not defined ERRFILE set ERRFILE=%cd%\error.txt
mkdir %OUTDIR%

Expand Down
3 changes: 1 addition & 2 deletions CPP/build-x32.cmd
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
@echo off

set ROOT=%cd%\7zip
if not defined OUTDIR set OUTDIR=%ROOT%\bin32
if not defined OUTDIR set OUTDIR=%ROOT%\bin32
if not defined ERRFILE set ERRFILE=%cd%\error.txt
if not defined SUBSYS set SUBSYS="5.01"
mkdir %OUTDIR%

set OPTS=MY_STATIC_LINK=1 /NOLOGO
Expand Down
3 changes: 1 addition & 2 deletions CPP/build-x64.cmd
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
@echo off

set ROOT=%cd%\7zip
if not defined OUTDIR set OUTDIR=%ROOT%\bin64
if not defined OUTDIR set OUTDIR=%ROOT%\bin64
if not defined ERRFILE set ERRFILE=%cd%\error.txt
if not defined SUBSYS set SUBSYS="5.02"
mkdir %OUTDIR%

set OPTS=PLATFORM=x64 MY_STATIC_LINK=1 /NOLOGO
Expand Down

0 comments on commit 69fc4bf

Please sign in to comment.