diff --git a/.travis.yml b/.travis.yml index c424658..66b0ea7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,6 +15,7 @@ env: - PLATFORM=x64 CONFIGURATION=Release script: + - mkdir -p build - cd build - cmake .. -DCMAKE_BUILD_TYPE=$CONFIGURATION -DTARGET_CPU=$PLATFORM - cmake --build . --config $CONFIGURATION diff --git a/appveyor.yml b/appveyor.yml index 72b562b..994d6ab 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -31,6 +31,7 @@ init: before_build: - ps: 'Write-Host "Running $env:BUILDER with $env:GENERATOR" -ForegroundColor Magenta' + - if not exist build mkdir build - cd build - if "%BUILDER%"=="CMake" cmake.exe .. -G "%GENERATOR%" -DCMAKE_BUILD_TYPE=%CONFIGURATION% -DTARGET_CPU=$PLATFORM