This commit is contained in:
Terik23 2018-04-02 16:33:25 +05:00
parent c71de0fc95
commit 348a90a566
2 changed files with 2 additions and 0 deletions

View file

@ -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

View file

@ -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