From 3652f8148198f0c0d6906d965c3507eee700f70b Mon Sep 17 00:00:00 2001 From: wangwenx190 <2546789017@qq.com> Date: Wed, 28 Nov 2018 15:40:57 +0800 Subject: [PATCH] Do not delete the whole source code dir, only delete the build dir. --- win-build-llvm.bat | 4 ++-- win-build-openal.bat | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/win-build-llvm.bat b/win-build-llvm.bat index d59db29..ef7b7c6 100644 --- a/win-build-llvm.bat +++ b/win-build-llvm.bat @@ -48,8 +48,8 @@ cmake %_CMAKE_CMD% IF %ERRORLEVEL% NEQ 0 ECHO Something wrong happened, please check the log file && GOTO Fin msbuild /p:Configuration=Release INSTALL.vcxproj IF %ERRORLEVEL% NEQ 0 ECHO Something wrong happened, please check the log file && GOTO Fin -CD /D "%~dp0" -RD /S /Q %_LLVM_SRC_DIR% +CD /D "%_LLVM_SRC_DIR%" +RD /S /Q build ECHO Build succeeded GOTO Fin diff --git a/win-build-openal.bat b/win-build-openal.bat index 4079779..b895162 100644 --- a/win-build-openal.bat +++ b/win-build-openal.bat @@ -59,8 +59,8 @@ cmake %_CMAKE_CMD% IF %ERRORLEVEL% NEQ 0 ECHO Something wrong happened, please check the log file && GOTO Fin msbuild /p:Configuration=Release INSTALL.vcxproj IF %ERRORLEVEL% NEQ 0 ECHO Something wrong happened, please check the log file && GOTO Fin -CD /D "%~dp0" -RD /S /Q %_OPENAL_SRC_DIR% +CD /D "%_OPENAL_SRC_DIR%" +RD /S /Q build ECHO Build succeeded GOTO Fin