-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcleanup.bat
More file actions
31 lines (23 loc) · 918 Bytes
/
Copy pathcleanup.bat
File metadata and controls
31 lines (23 loc) · 918 Bytes
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
@echo off
REM IMPORTANT: `SETLOCAL EnableDelayedExpansion` enables the use of variables
REM inside "for loops".
REM NOTE: to use the variables, you should call them with `!var!` and not the
REM usual `%var%`.
REM See https://stackoverflow.com/a/13805466/14427765
SETLOCAL EnableDelayedExpansion
REM --------------------------------- Imports ----------------------------------
REM IMPORT
SET CONFIG=config.bat
CALL %CONFIG%
CALL shared-config-local-variables.bat
REM ---------------------------------- Code ------------------------------------
del /S/F %OUTPUT_LIB_PATH%\*.lib >NUL 2>&1
del /S/F %OUTPUT_LIB_PATH%\*.obj >NUL 2>&1
del /S/F *.pdb >NUL 2>&1
del /S/F *.idb >NUL 2>&1
del /F %MAIN_PATH%\main.ilk >NUL 2>&1
del /F %MAIN_PATH%\main.exe >NUL 2>&1
del /F %TEST_PATH%\main.exe >NUL 2>&1
del /F %TEST_PATH%\main.ilk >NUL 2>&1
del /S/F shared-config-local-variables.bat >NUL 2>&1
GOTO :EOF