-
Notifications
You must be signed in to change notification settings - Fork 3
/
clean_All.bat
42 lines (41 loc) · 1 KB
/
clean_All.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
36
37
38
39
40
41
42
REM ***
REM *** After a build of OpenEBTS.sln, this batch file should remove all the files
REM *** created by that build, and leave everything as it was before the build.
REM ***
del /S *.obj
del /S /A:H *.suo
del /S *.embed.manifest
del /S *.embed.manifest.res
del /S *.intermediate.manifest
del /S *.exp
del /S *.ncb
del /S *.ilk
del /S *.res
del /S *.idb
del /S *.dep
del /S *.pch
del /S *.aps
del /S *.vcproj.*.user
del /S BuildLog.htm
del /S OpenEBTS.dll
del /S OpenEBTS.lib
del /S OpenEBTSa.dll
del /S OpenEBTSa.lib
del /S OpenEBTSSample*.exe
del /S OpenEBTSViewer*.exe
// Leave the library pdb files alone so we can link against them for debug info but
// ditch all the others, which means going into each of the 3 folders explicitly.
// We also delete any x64 folder that may be present
cd OpenEBTS
del /S *.pdb
rd /S /Q x64
cd ..
cd OpenEBTSSamples
del /S *.pdb
rd /S /Q OpenEBTSSample1\x64
rd /S /Q OpenEBTSSample2\x64
cd ..
cd OpenEBTSViewer
del /S *.pdb
rd /S /Q x64
cd ..