mirror of
https://github.com/pConst/basic_verilog.git
synced 2025-01-14 06:42:54 +08:00
Added recursive build script
This commit is contained in:
parent
29df4d58b8
commit
937edbeb98
31
scripts_for_intel_hls/build_recursively.bat
Executable file
31
scripts_for_intel_hls/build_recursively.bat
Executable file
@ -0,0 +1,31 @@
|
||||
@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
|
||||
|
Loading…
x
Reference in New Issue
Block a user