Adjust test script again.

This commit is contained in:
jzmaddock
2024-04-19 18:25:36 +01:00
parent 456bf7756d
commit 9ddfbd2923

View File

@@ -1,8 +1,8 @@
REM Basic command line to build everything with msvc: REM Basic command line to build everything with msvc:
del *.obj rem del *.obj
del *.exe rem del *.exe
del *.lib rem del *.lib
cl /std:c++latest /EHsc /nologo /W4 /c "%VCToolsInstallDir%\modules\std.ixx" || exit 1 cl /std:c++latest /EHsc /nologo /W4 /c "%VCToolsInstallDir%\modules\std.ixx" || exit 1
cl /std:c++latest /EHsc /nologo /W4 /c /interface /I ..\..\..\.. ..\..\module\regex.cxx || exit 1 cl /std:c++latest /EHsc /nologo /W4 /c /interface /I ..\..\..\.. ..\..\module\regex.cxx || exit 1
@@ -10,13 +10,13 @@ cl /std:c++latest /EHsc /nologo /W4 /c /I ..\..\..\.. ..\..\module\*.cpp || exit
lib *.obj /OUT:regex.lib || exit 1 lib *.obj /OUT:regex.lib || exit 1
time < nul rem time < nul
for %%f in (*.cpp) do ( for %%f in (*.cpp) do (
cl /std:c++latest /EHsc /nologo /W4 /I ..\..\..\.. %%f regex.lib || exit 1 cl /std:c++latest /EHsc /nologo /W4 /I ..\..\..\.. %%f regex.lib || exit 1
) )
time < nul rem time < nul
rem uncomment this section to test/time non-module build: rem uncomment this section to test/time non-module build:
rem for %%f in (*.cpp) do ( rem for %%f in (*.cpp) do (