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

32 lines
881 B
Batchfile
Raw Normal View History

2021-11-09 14:47:29 +03:00
@echo off
rem ------------------------------------------------------------------------------
rem build_recursively.bat
rem Konstantin Pavlov, pavlovconst@gmail.com
rem ------------------------------------------------------------------------------
rem Use this script to walk through all subdirs and execute build scripts
rem there. Place build script in every subdir that requires build
echo INFO: =====================================================================
echo INFO: build_recursively.bat
echo INFO: The script may sometimes take a long time to complete
for /R %%f in (*) do (
echo %%f | findstr /C:".git" >nul & if ERRORLEVEL 1 (
echo %%f | findstr /C:"b\.bat" >nul & if ERRORLEVEL 1 (
rem
) else (
pushd %%~df%%~pf
echo %%~df%%~pf
@echo | call %%f f
popd
)
)
)
pause
goto :eof