Skip to content

Commit

Permalink
Added setlocal to avoid modifying PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
willyd committed Mar 4, 2017
1 parent 30cb9e7 commit 68d9be2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion build_v120_x64.cmd
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@setlocal
@echo off
if NOT EXIST build_v120_x64 (
mkdir build_v120_x64
Expand Down Expand Up @@ -27,4 +28,5 @@ cmake -G Ninja ^
%~dp0
:: build
cmake --build .
popd
popd
@endlocal
4 changes: 3 additions & 1 deletion build_v140_x64.cmd
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@setlocal
@echo off
if NOT EXIST build_v140_x64 (
mkdir build_v140_x64
Expand Down Expand Up @@ -27,4 +28,5 @@ cmake -G Ninja ^
%~dp0
:: build
cmake --build .
popd
popd
@endlocal

0 comments on commit 68d9be2

Please sign in to comment.