diff --git a/.gitignore b/.gitignore index 69a35d9..8b8a469 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ +build/ + ### cpp gitignore ### # Prerequisites *.d diff --git a/.travis.yml b/.travis.yml index 5537aa5..256a6e6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,6 +16,7 @@ env: - PLATFORM=x64 CONFIGURATION=Release script: + - rm -rf build - mkdir -p build - cd build - cmake .. -DCMAKE_BUILD_TYPE=$CONFIGURATION -DTARGET_CPU=$PLATFORM diff --git a/appveyor.yml b/appveyor.yml index e439a17..22771ca 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -27,6 +27,7 @@ init: before_build: - ps: 'Write-Host "Running $env:BUILDER with $env:GENERATOR" -ForegroundColor Magenta' + - if exist build RMDIR /S /Q build - if not exist build mkdir build - cd build - if "%BUILDER%"=="CMake" cmake.exe .. -G "%GENERATOR%" -DCMAKE_BUILD_TYPE=%CONFIGURATION% -DTARGET_CPU=$PLATFORM diff --git a/build/.gitignore b/build/.gitignore deleted file mode 100644 index f59ec20..0000000 --- a/build/.gitignore +++ /dev/null @@ -1 +0,0 @@ -* \ No newline at end of file