|
@REM $Id: COMP_CLEANUP.BAT 5947 2005-08-16 13:58:09Z wpc0756\Emmanuel $
@ECHO OFF
CALL COMP_SET_VARIABLES.BAT
IF ERRORLEVEL 1 GOTO ERROROCCURED
ECHO %PROJECT% Cleanup
IF EXIST Release DEL /Q Release\*.*
IF EXIST ReleaseMinSize DEL /Q ReleaseMinSize\*.*
IF EXIST ReleaseMinDependency DEL /Q ReleaseMinDependency\*.*
IF EXIST Debug DEL /Q Debug\*.*
IF EXIST Release RMDIR Release
IF EXIST Debug RMDIR Debug
IF EXIST ReleaseMinSize RMDIR ReleaseMinSize
IF EXIST ReleaseMinDependency RMDIR ReleaseMinDependency
REM Generated files
FOR %%E IN (.aps .tlb .tlh .tli .clw .ncb .opt .plg _i.c _p.c) DO IF EXIST "%PROJECT%%%E" DEL /Q "%PROJECT%%%E"
IF EXIST dlldata.c DEL dlldata.c
REM Kit files
IF EXIST Kit\%PROJECT%\ FOR %%F IN (Kit\%PROJECT%\*.*) DO DEL /Q "%%F"
IF EXIST Kit\%PROJECT%\ RMDIR Kit\%PROJECT%\
IF EXIST Kit\Dll FOR %%F IN (Kit\Dll\*.*) DO DEL /Q "%%F"
IF EXIST Kit FOR %%F IN (Kit\*.*) DO DEL /Q "%%F"
IF EXIST Kit\Dll RMDIR Kit\Dll\
IF EXIST Kit RMDIR Kit\
REM Force shell to "no error"
SET ERRORLEVEL=0
@ECHO Cleanup: done.
ECHO.
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
Fell into computer software at the age of 11, founder of 3 startups, and now manager of an independent software vendor (ISV) labelled proSDK (www.prosdk.com)... And still a freeware writer and technical article author!