aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bootstrap-msvc.bat7
1 files changed, 6 insertions, 1 deletions
diff --git a/bootstrap-msvc.bat b/bootstrap-msvc.bat
index 9120989..1af91b0 100644
--- a/bootstrap-msvc.bat
+++ b/bootstrap-msvc.bat
@@ -131,7 +131,12 @@ rem
set "obj="
for %%d in (%src%) do (
cd %%d
- call :compile *.cxx
+
+ set "r="
+ for /F "tokens=*" %%i in ('dir /b *.cxx ^| findstr /v "\.test\.cxx"') do (
+ set "r=!r! %%i")
+
+ call :compile !r!
if errorlevel 1 goto error
cd %owd%
set "obj=!obj! %%d\*.obj"