Optionally include a CMake configurations file from the project directory to support...
[Torque-3d.git] / Tools / CMake / cleanup-win.bat.in
blobc8c3a4fad8b4c283c0f6c1493c2701914296200c
1 @ECHO off
3 :: Delete procedural shaders
4 echo shaders
5 del /q /a:-R shaders\procedural\*.*
6 :: Delete dumped shader disassembly files
7 for /R %%a IN (*._dis.txt) do IF EXIST "%%a._dis.txt" del "%%a._dis.txt"
9 :: Delete fonts
10 echo fonts
11 del /q /a:-R core\fonts\*.*
13 :: CEF cache
14 echo browser cache
15 del /q /a:-R cache
18 :: the cached meshes and alike
19 echo meshes and alike
20 for /R %%a IN (*.dae) do IF EXIST "%%~pna.cached.dts" del "%%~pna.cached.dts"
21 for /R %%a IN (*.imposter*.dds) do del "%%a"
23 :: the torque script compilations
24 echo compiled script
25 for /R %%a IN (*.cs) do IF EXIST "%%a.dso" del "%%a.dso"
26 for /R %%a IN (*.cs) do IF EXIST "%%a.edso" del "%%a.edso"
27 for /R %%a IN (*.gui) do IF EXIST "%%a.dso" del "%%a.dso"
28 for /R %%a IN (*.gui) do IF EXIST "%%a.edso" del "%%a.edso"
29 for /R %%a IN (*.ts) do IF EXIST "%%a.dso" del "%%a.dso"
30 for /R %%a IN (*.ts) do IF EXIST "%%a.edso" del "%%a.edso"
32 :: the user settings and alike
33 echo settings
34 IF EXIST "prefs.cs" del /s prefs.cs
35 IF EXIST "core\prefs.cs" del /s core\prefs.cs
36 ::IF EXIST "scripts\client\prefs.cs" del /s scripts\client\prefs.cs
37 IF EXIST "scripts\server\banlist.cs" del /s scripts\server\banlist.cs
38 IF EXIST "scripts\server\prefs.cs" del /s scripts\server\prefs.cs
39 IF EXIST "client\config.cs" del /s client\config.cs
40 IF EXIST "config.cs" del /s config.cs
41 IF EXIST "tools\settings.xml" del /s tools\settings.xml
42 IF EXIST "banlist.cs" del /s banlist.cs
44 :: logs
45 echo logs
46 IF EXIST "torque3d.log" del /s torque3d.log
47 echo DONE!