try to fix platform builds for win32

This commit is contained in:
unknown 2015-02-17 11:24:21 +01:00
parent 0cbafabe53
commit f7e3752f0d

View File

@ -1,23 +1,23 @@
version: 0.12.{build} ersion: 0.12.{build}
configuration: configuration:
- Debug - Debug
- Release - Release
platform:
- x86
- x64
environment: environment:
matrix: matrix:
- VS_VERSION: 11 - VS_VERSION: 11
VS_PLATFORM: win32
- VS_VERSION: 11
VS_PLATFORM: x64
- VS_VERSION: 12 - VS_VERSION: 12
- VS_VERSION: 14 VS_PLATFORM: win32
- VS_VERSION: 12
VS_PLATFORM: x64
before_build: before_build:
- git submodule update --init --recursive - git submodule update --init --recursive
- if "%PLATFORM%" == "x86" set PLATFORM=win32 - cmake -H. -BBuild/VS -G "Visual Studio %VS_VERSION%" -DCMAKE_GENERATOR_PLATFORM=%VS_PLATFORM% -DBUILD_SHARED_LIBS=true -Wno-dev
- cmake -H. -BBuild/VS -G "Visual Studio %VS_VERSION%" -DCMAKE_GENERATOR_PLATFORM=%PLATFORM% -DBUILD_SHARED_LIBS=true -Wno-dev
build: build:
project: Build\VS\RapidJSON.sln project: Build\VS\RapidJSON.sln