Files
yttrium-virtio-gpu/NetKVM/clean.bat
T
Ladi Prosek 1680088a47 Fix cleanup scripts
This commit fixes a few issues with the clean.bat / cleanAll.bat
scripts. All output and intermediate files are now deleted upon
executing clean.bat in the root of the repo.

Absolute IntDir and OutDir paths are added to NetKVM/Mof/Mof.vcxproj
to avoid leaving build artifacts in random directories.

Signed-off-by: Ladi Prosek <[email protected]>
2017-08-02 13:59:22 +02:00

34 lines
498 B
Batchfile

@echo off
goto start
:rmdir
if exist "%~1" rmdir "%~1" /s /q
goto :eof
:rmfiles
if "%~1"=="" goto :eof
if exist "%~1" del /f "%~1"
shift
goto rmfiles
:start
call clean_dvl_log.cmd
call :rmdir Install
call :rmdir Install_Debug
call :rmdir x64
call :rmdir x86
call :rmfiles build.err build.log buildfre_*.log buildchk_*.log msbuild.log
call :rmfiles netkvm.DVL.XML SDV-default.xml sdv-user.sdv
pushd CoInstaller
call clean.bat
popd
pushd NDIS5
call clean.bat
popd
pushd Mof
call clean.bat
popd