-
Notifications
You must be signed in to change notification settings - Fork 196
/
vsclean.bat
56 lines (50 loc) · 1.15 KB
/
vsclean.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
set CurrDir=%CD%
del /s *.sdf
del /s *.db
del /s *.pdb
del /s *.idb
del /s *.ipch
del /s *.user
del /s *.opendb
del /s *.orig
del /s CMakeCache.txt
del /s cmake_install.cmake
del /s *.a
del /s *.o
del /s applications/Makefile
del /s cmp_compressonatorlib/Makefile
del /s cmp_core/Makefile
del /s cmp_framework/Makefile
del Makefile
rmdir /s /q bin
rmdir /s /q lib
IF EXIST %CurrDir%\build\bin (
rmdir /s /q %CurrDir%\build\bin
cd %CurrDir
)
cd cmp_core/shaders/
rmdir /s /q compiled
cd %CurrDir%
FOR /d /r . %%d IN (CMakeFiles) DO @IF EXIST "%%d" rd /s /q "%%d"
FOR /d /r . %%d IN (*_autogen) DO @IF EXIST "%%d" rd /s /q "%%d"
REM Extern KTX folder cleanup
IF EXIST %CurrDir%\..\common\lib\ext\ktx (
cd ../common/lib/ext/ktx
rmdir /s /q bin
rmdir /s /q build
rmdir /s /q src
rmdir /s /q tmp
cd %CurrDir%
)
REM Extern Brotli-G folder cleanup
IF EXIST %CurrDir%\..\common\lib\ext\brotlig (
cd ../common/lib/ext/brotlig
rmdir /s /q build
cd %CurrDir%
)
REM Extern GLFW folder cleanup
IF EXIST %CurrDir%\..\common\lib\ext\glfw (
cd ../common/lib/ext/glfw
rmdir /s /q build
cd %CurrDir%
)