forked from rbock/sqlpp11-connector-sqlite3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
37 lines (32 loc) · 951 Bytes
/
.appveyor.yml
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
36
os: Visual Studio 2015
platform:
- x64
configuration:
- Debug
- Release
matrix:
fast_finish: true
build_script:
- CD
- SET
- C:\"Program Files (x86)"\"Microsoft Visual Studio 14.0"\VC\vcvarsall.bat amd64
- choco install wget
- wget http://www.sqlite.org/2016/sqlite-amalgamation-3120200.zip
- unzip sqlite-amalgamation-3120200.zip
- cd sqlite-amalgamation-3120200
- cl /c /EHsc sqlite3.c
- lib sqlite3.obj
- cd ..
- cd ..
- CD
- git clone https://github.com/HowardHinnant/date
- git clone https://github.com/rbock/sqlpp11
- cd sqlpp11-connector-sqlite3
- CD
- echo %configuration%
- mkdir build
- cd build
- cmake --version
- cmake .. -DCMAKE_PREFIX_PATH="C:/projects/sqlpp11-connector-sqlite3/sqlite-amalgamation-3120200" -DCMAKE_CXX_FLAGS="/EHsc /wd4503" -DCMAKE_GENERATOR_PLATFORM=x64
- cmake --build . --config %configuration%
- ctest . --output-on-failure --build-config %configuration%