pass build config to CMake explicitly

Signed-off-by: Jeroen Koekkoek <jeroen@koekkoek.nl>
This commit is contained in:
Jeroen Koekkoek 2018-08-07 10:56:21 +02:00
parent 13e2e68b33
commit ce748cb90b

View file

@ -38,7 +38,7 @@ build_script:
- cd build
- conan install -s arch=%ARCH% -s build_type=%CONFIGURATION% ..
- cmake -DBUILD_TESTING=on -DCMAKE_BUILD_TYPE=%CONFIGURATION% -G "%GENERATOR%" ../src
- cmake --build .
- cmake --build . --config %CONFIGURATION%
test_script:
- ctest --test-action test --build-config %CONFIGURATION%