Trying to fix some build errors with regression tests, but this is failing

This commit is contained in:
Eric Ratliff
2026-02-22 19:10:40 -06:00
parent d5220bea03
commit 6a0b3af330
7 changed files with 717 additions and 1 deletions

View File

@@ -204,6 +204,12 @@ for %%d in (lib\hal lib\app) do (
set "BUILD_FLAGS=!BUILD_FLAGS! -I%SCRIPT_DIR%\%%d"
)
)
:: Auto-discover driver libraries (added by: anvil add <driver>)
if exist "%SCRIPT_DIR%\lib\drivers" (
for /d %%d in ("%SCRIPT_DIR%\lib\drivers\*") do (
set "BUILD_FLAGS=!BUILD_FLAGS! -I%%d"
)
)
set "BUILD_FLAGS=!BUILD_FLAGS! -Werror"
:: -- Compile --------------------------------------------------------------