From 8e9f8f2d0dcdddec35091ddbbdc79650763ec922 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 27 Apr 2024 19:56:50 +0200 Subject: Adding upstream version 2.9.0dev.6. Signed-off-by: Daniel Baumann --- BUILD/VS2012X32/clean.bat | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 BUILD/VS2012X32/clean.bat (limited to 'BUILD/VS2012X32/clean.bat') diff --git a/BUILD/VS2012X32/clean.bat b/BUILD/VS2012X32/clean.bat new file mode 100644 index 0000000..5b8e305 --- /dev/null +++ b/BUILD/VS2012X32/clean.bat @@ -0,0 +1,40 @@ +@echo off +@rem $LynxId: clean.bat,v 1.3 2018/03/18 23:17:43 tom Exp $ +@rem Remove all build-products in subdirectories, leaving only sources +@rem (and unrecognized types) +setlocal + +FOR /D %%d IN (*) DO call :dosoln %%d + +attrib -h *.suo /s + +del/f/s/q *.old +del/f/s/q *.suo +del/f/s/q *.sdf +del/f/s/q *.user +del/f/s/q *.xml + +attrib +r *.h /s +attrib +r *.bat /s +attrib +r *.sln /s +attrib +r *.vcxproj* /s +endlocal +goto :eof + +:dosoln + setlocal + echo Cleanup %* + cd %1 + + set SOLN= + FOR %%d IN ( *.sln ) DO set SOLN=%%d + if not "x%SOLN%"=="x" goto :dosoln2 + + echo ?? Not a solution directory + goto :dosolnx + +:dosoln2 + FOR /D %%d IN (*) DO rmdir /s /q %%d +:dosolnx + endlocal + goto :eof -- cgit v1.2.3