This commit is contained in:
terik23 2018-04-06 02:30:39 +05:00
parent 32c4cf483f
commit 950aa56c35
4 changed files with 4 additions and 1 deletions

2
.gitignore vendored
View file

@ -1,3 +1,5 @@
build/
### cpp gitignore ### ### cpp gitignore ###
# Prerequisites # Prerequisites
*.d *.d

View file

@ -16,6 +16,7 @@ env:
- PLATFORM=x64 CONFIGURATION=Release - PLATFORM=x64 CONFIGURATION=Release
script: script:
- rm -rf build
- mkdir -p build - mkdir -p build
- cd build - cd build
- cmake .. -DCMAKE_BUILD_TYPE=$CONFIGURATION -DTARGET_CPU=$PLATFORM - cmake .. -DCMAKE_BUILD_TYPE=$CONFIGURATION -DTARGET_CPU=$PLATFORM

View file

@ -27,6 +27,7 @@ init:
before_build: before_build:
- ps: 'Write-Host "Running $env:BUILDER with $env:GENERATOR" -ForegroundColor Magenta' - ps: 'Write-Host "Running $env:BUILDER with $env:GENERATOR" -ForegroundColor Magenta'
- if exist build RMDIR /S /Q build
- if not exist build mkdir build - if not exist build mkdir build
- cd build - cd build
- if "%BUILDER%"=="CMake" cmake.exe .. -G "%GENERATOR%" -DCMAKE_BUILD_TYPE=%CONFIGURATION% -DTARGET_CPU=$PLATFORM - if "%BUILDER%"=="CMake" cmake.exe .. -G "%GENERATOR%" -DCMAKE_BUILD_TYPE=%CONFIGURATION% -DTARGET_CPU=$PLATFORM

1
build/.gitignore vendored
View file

@ -1 +0,0 @@
*