clean-up
This commit is contained in:
parent
32c4cf483f
commit
950aa56c35
4 changed files with 4 additions and 1 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,3 +1,5 @@
|
||||||
|
build/
|
||||||
|
|
||||||
### cpp gitignore ###
|
### cpp gitignore ###
|
||||||
# Prerequisites
|
# Prerequisites
|
||||||
*.d
|
*.d
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
1
build/.gitignore
vendored
|
@ -1 +0,0 @@
|
||||||
*
|
|
Loading…
Reference in a new issue