Skip to content

Commit fce8af4

Browse files
committed
add xrbuild.cmd to msvc building. Part 7
1 parent 34b44e3 commit fce8af4

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

appveyor.yml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,22 @@ skip_tags: true
55
image: Visual Studio 2017
66
environment:
77
matrix:
8-
- tbs_arch: x86
9-
tbs_tools: mingw
10-
# - tbs_arch: x64
11-
# tbs_tools: mingw
12-
- tbs_arch: x86
13-
tbs_tools: msvc
14-
tbs_config: Debug
15-
- tbs_arch: x86
16-
tbs_tools: msvc
17-
tbs_config: Release
18-
- tbs_arch: x64
19-
tbs_tools: msvc
20-
tbs_config: Debug
21-
- tbs_arch: x64
22-
tbs_tools: msvc
23-
tbs_config: Release
8+
- PLATFORM: x86
9+
BUILD_SYSTEM: mingw
10+
# - PLATFORM: x64
11+
# BUILD_SYSTEM: mingw
12+
- PLATFORM: x86
13+
BUILD_SYSTEM: msvc
14+
CONFIGURATION: Debug
15+
- PLATFORM: x86
16+
BUILD_SYSTEM: msvc
17+
CONFIGURATION: Release
18+
- PLATFORM: x64
19+
BUILD_SYSTEM: msvc
20+
CONFIGURATION: Debug
21+
- PLATFORM: x64
22+
BUILD_SYSTEM: msvc
23+
CONFIGURATION: Release
2424
install:
2525
#- SET LUAENV=lua51
2626
#- cmd: .appveyor\install-lua.cmd
@@ -36,18 +36,18 @@ build_script:
3636
- SET "PATH=%PATH:C:\Program Files\Git\usr\bin=%"
3737

3838
# Add mingw-w64 to PATH
39-
- if [%tbs_tools%]==[mingw] (
39+
- if [%BUILD_SYSTEM%]==[mingw] (
4040
SET "PATH=C:\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw64\bin;%PATH%"
4141
)
4242
- ECHO %PATH%
43-
- if [%tbs_tools%]==[mingw] (
43+
- if [%BUILD_SYSTEM%]==[mingw] (
4444
MKDIR bin &&
4545
CD bin &&
4646
cmake .. -G "MinGW Makefiles" &&
4747
mingw32-make
4848
)
49-
- if [%tbs_tools%]==[msvc] (
50-
msbuild "src\engine.sln" /m /verbosity:minimal /property:PlatformToolset=v141 /t:Clean,Build /p:Platform=%tbs_arch% /p:Configuration=%tbs_config% /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
49+
- if [%BUILD_SYSTEM%]==[msvc] (
50+
msbuild "src\engine.sln" /m /verbosity:minimal /property:PlatformToolset=v141 /t:Clean,Build /p:Platform=%PLATFORM% /p:Configuration=%CONFIGURATION% /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
5151
)
5252

5353
#create artifacts

0 commit comments

Comments
 (0)