-
Notifications
You must be signed in to change notification settings - Fork 31
/
clean.bat
35 lines (20 loc) · 929 Bytes
/
clean.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
REM Batch file to erase unneeded and possibly large files if using Visual Studio
REM *****Note: it would be a BAD IDEA to take this outside this folder or the folder
REM where you keep your own C++ code -- it may delete something you want! Be careful! ****
REM Aug 2020
REM Get rid of folders we don't need, possibly containing large files
for /r . %%d in (Debug,Release,x64,.vs,Backup) do @if exist "%%d" rd /s/q "%%d"
del /s *.o REM Delete Unix- or MinGW-created files
del /s a.out
del /s a.exe
del /s core
del /s *.dep
REM Get rid of other large files
del /s *.sdf REM Earlier versions (2010-2015) -- can skip if using 2017 or later
del /s *.obj REM Still needed because I'm using a diff intermed directory for SSDL library
REM and miscellany
del /s *.log
del /s *.tlog
del /s *.idb
del /s *.lastbuildstate
del /s *.ifc REM compiled version of a VS C++ module