0
0
mirror of https://github.com/rbock/sqlpp11.git synced 2024-11-15 20:31:16 +08:00

Adopted .appveyor.yml to find the date library

This commit is contained in:
Christian Dávid 2016-05-05 10:31:58 +02:00
parent bcc3eea988
commit 21ea63c050

View File

@ -14,14 +14,13 @@ build_script:
- CD - CD
- cd .. - cd ..
- CD - CD
- git clone https://github.com/HowardHinnant/date - git clone --branch v1.0.0 --depth 1 https://github.com/HowardHinnant/date
- cd sqlpp11 - cd sqlpp11
- CD - CD
- echo %configuration% - echo %configuration%
- mkdir build - mkdir build
- cd build - cd build
- cmake --version - cmake --version
- cmake .. -DCMAKE_CXX_FLAGS="/EHsc /wd4503" - cmake .. -DCMAKE_CXX_FLAGS="/EHsc /wd4503" -DCMAKE_PREFIX_PATH=../../date
- cmake --build . --config %configuration% - cmake --build . --config %configuration%
- ctest . --build-config %configuration% - ctest . --build-config %configuration%