forked from orocos/soem
-
Notifications
You must be signed in to change notification settings - Fork 0
/
clean_test_win32.bat
executable file
·38 lines (34 loc) · 1.09 KB
/
clean_test_win32.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
@echo off
REM Build slave info
if NOT EXIST test\win32\slaveinfo\obj goto skip_obj
RMDIR /S /Q test\win32\slaveinfo\obj
:skip_obj
if NOT EXIST test\win32\slaveinfo\*.exe goto skip_exe
DEL /Q test\win32\slaveinfo\*.exe
:skip_exe
if NOT EXIST test\win32\slaveinfo\*.ilk goto skip_ilk
DEL /Q test\win32\slaveinfo\*.ilk
:skip_ilk
if NOT EXIST test\win32\slaveinfo\*.pdb goto skip_pdb
DEL /Q test\win32\slaveinfo\*.pdb
:skip_pdb
if NOT EXIST test\win32\slaveinfo\*.idb goto skip_idb
DEL /Q test\win32\slaveinfo\*.idb
:skip_idb
REM Simple_test info
if NOT EXIST test\win32\simple_test\obj goto skip_obj2
RMDIR /S /Q test\win32\simple_test\obj
:skip_obj2
if NOT EXIST test\win32\simple_test\*.exe goto skip_exe2
DEL /Q test\win32\simple_test\*.exe
:skip_exe2
if NOT EXIST test\win32\simple_test\*.ilk goto skip_ilk2
DEL /Q test\win32\simple_test\*.ilk
:skip_ilk2
if NOT EXIST test\win32\simple_test\*.pdb goto skip_pdb2
DEL /Q test\win32\simple_test\*.pdb
:skip_pdb2
if NOT EXIST test\win32\simple_test\*.idb goto skip_idb2
DEL /Q test\win32\simple_test\*.idb
:skip_idb2
echo clean done