aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-03-08 20:23:10 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-03-08 20:23:10 +0300
commit2d8d61041357ef9718ba93ce9044ea7dbc88cb4f (patch)
treed2cde07f4d1a1ab70ee237f083b282285108e32a
parent31ac12a4e39fa701b1bd95e17afea4f739bf9506 (diff)
Filter out *.test.cxx in bootstrap-msvc.bat
-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"