1
0
mirror of https://github.com/pConst/basic_verilog.git synced 2025-01-14 06:42:54 +08:00
basic_verilog/scripts/clean_vivado.bat

50 lines
1.1 KiB
Batchfile
Raw Normal View History

2021-10-28 11:46:38 +03:00
@echo off
rem ------------------------------------------------------------------------------
rem clean_vivado.bat
2022-05-20 21:36:55 +03:00
rem published as part of https://github.com/pConst/basic_verilog
2021-10-28 11:46:38 +03:00
rem Konstantin Pavlov, pavlovconst@gmail.com
rem ------------------------------------------------------------------------------
2022-05-20 21:36:55 +03:00
rem Use this file as a boilerplate for your custom clean script
rem for Vivado/Vitis projects
2021-10-28 11:46:38 +03:00
for /R %%f in (*.xpr) do (
echo "Project name is %%~nf"
2021-10-28 11:46:38 +03:00
2022-12-12 03:23:58 +03:00
del /s /f /q .\.Xil\*
rmdir /s /q .\.Xil\
del /s /f /q .\%%~nf.cache\*
rmdir /s /q .\%%~nf.cache\
2021-10-28 11:46:38 +03:00
2022-12-12 03:23:58 +03:00
del /s /f /q .\%%~nf.gen\*
rmdir /s /q .\%%~nf.gen\
del /s /f /q .\%%~nf.hw\*
rmdir /s /q .\%%~nf.hw\
2021-10-28 11:46:38 +03:00
del /s /f /q .\%%~nf.ip_user_files\*
rmdir /s /q .\%%~nf.ip_user_files\
2021-10-28 11:46:38 +03:00
del /s /f /q .\%%~nf.runs\*
rmdir /s /q .\%%~nf.runs\
2021-10-28 11:46:38 +03:00
del /s /f /q .\%%~nf.sim\*
rmdir /s /q .\%%~nf.sim\
2021-10-28 11:46:38 +03:00
del /s /f /q .\*.jou
del /s /f /q .\*.log
del /s /f /q .\*.str
del /s /f /q .\*.tmp
2022-07-29 13:50:45 +03:00
del /s /f /q .\usage_statistics_webtalk.*
del /s /f /q *.xsa
)
2021-10-28 11:46:38 +03:00
pause
goto :eof