Try to fix msbuild issue on VC2008
This commit is contained in:
parent
a907ca490e
commit
d3129c5d33
@ -9,8 +9,10 @@ environment:
|
|||||||
matrix:
|
matrix:
|
||||||
- VS_VERSION: 9 2008
|
- VS_VERSION: 9 2008
|
||||||
VS_PLATFORM: win32
|
VS_PLATFORM: win32
|
||||||
|
VS_VAR: C:\Program Files\Microsoft Visual Studio 9\VC\Vcvarsall.bat
|
||||||
- VS_VERSION: 9 2008
|
- VS_VERSION: 9 2008
|
||||||
VS_PLATFORM: x64
|
VS_PLATFORM: x64
|
||||||
|
VS_VAR: C:\Program Files\Microsoft Visual Studio 9\VC\Vcvarsall.bat
|
||||||
- VS_VERSION: 10 2010
|
- VS_VERSION: 10 2010
|
||||||
VS_PLATFORM: win32
|
VS_PLATFORM: win32
|
||||||
- VS_VERSION: 10 2010
|
- VS_VERSION: 10 2010
|
||||||
@ -30,6 +32,7 @@ environment:
|
|||||||
|
|
||||||
before_build:
|
before_build:
|
||||||
- git submodule update --init --recursive
|
- git submodule update --init --recursive
|
||||||
|
- if defined VS_VAR call "%VS_VAR%"
|
||||||
- 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=%VS_PLATFORM% -DBUILD_SHARED_LIBS=true -Wno-dev
|
||||||
|
|
||||||
build:
|
build:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user