blob: 70afe930b9bbacc1b8b165fe98dd01f5f06064fc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
platform:
- x86
- x64
configuration:
- Debug
- Release
os: Visual Studio 2015
clone_folder: c:\projects\semver
install:
- git submodule update --init --recursive
build_script:
# show settings
- cmake -version
- echo %platform%
- echo %configuration%
# generate a solution file
- cd c:\projects\semver
- mkdir build
- cd build
- if "%platform%" == "x64" set cmake_platform=%platform%
- cmake -g "Visual Studio 14 2015" .. -DCMAKE_GENERATOR_PLATFORM=%cmake_platform%
# build it
- if "%platform%" == "x86" set msbuild_platform=Win32
- if "%platform%" == "x64" set msbuild_platform=%platform%
- msbuild semver.sln /p:Configuration=%configuration% /toolsversion:14.0 /p:PlatformToolset=v140 /p:Platform=%msbuild_platform%
test_script:
- if "%configuration%" == "Debug" ctest -VV --schedule-random -C Debug
|