Skip to content

Commit 1b49a55

Browse files
debriscdunn2001
authored andcommitted
appveyor multiple platforms
1 parent 13c36e9 commit 1b49a55

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

appveyor.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,21 @@ os: Windows Server 2012 R2
44

55
clone_folder: c:\projects\jsoncpp
66

7-
#platform: Any CPU
7+
platform:
8+
- Win32
9+
- x64
10+
811
configuration:
912
- Debug
1013
- Release
1114

12-
install:
13-
# by default, all script lines are interpreted as batch
14-
1515
# scripts to run before build
1616
before_build:
1717
- echo "Running cmake..."
1818
- cd c:\projects\jsoncpp
19-
- cmake .
19+
- cmake --version
20+
- if %PLATFORM% == Win32 cmake .
21+
- if %PLATFORM% == x64 cmake -G "Visual Studio 12 2013 Win64" .
2022

2123
build:
2224
project: jsoncpp.sln # path to Visual Studio solution or project

0 commit comments

Comments
 (0)