You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
637 B
23 lines
637 B
@echo off
|
|
SET TAR=Release_Build
|
|
Attrib *.suo -H
|
|
Attrib .vs -H
|
|
rmdir /Q /S %TAR%
|
|
rmdir /Q /S ."vs"
|
|
del /Q /S *.suo
|
|
del /Q /S *.bak
|
|
del /Q /S *.thumb
|
|
del /Q /S *.cache
|
|
REM for /f %%f in ('dir /s /b /a:d') do rmdir /Q /S %%f\bin %%f\obj
|
|
for /f %%f in ('dir /s /b /a:d obj') do call:CleanProject %%f
|
|
for /f %%f in ('dir /s /b /a:d bin') do call:CleanProject %%f
|
|
|
|
::--------------------------------------------------------
|
|
::-- Function to Build
|
|
::--------------------------------------------------------
|
|
|
|
:CleanProject - here starts my function identified by it's label
|
|
echo.
|
|
echo. Cleaning %~1
|
|
IF EXIST %~1 (rmdir /Q /S %~1)
|
|
goto:eof
|