dfmt/build.bat

18 lines
566 B
Batchfile

@echo off
setlocal enabledelayedexpansion
set DFLAGS=-g
set CORE=
set STD=
set STDD=
set STDE=
for %%x in (src\dfmt\*.d) do set CORE=!CORE! %%x
for %%x in (libdparse\src\std\experimental\*.d) do set STD=!STD! %%x
for %%x in (libdparse\src\dparse\*.d) do set STDD=!STDD! %%x
for %%x in (libdparse\experimental_allocator\src\std\experimental\allocator\*.d) do set STDE=!STDE! %%x
for %%x in (libdparse\experimental_allocator\src\std\experimental\allocator\building_blocks\*.d) do set STDE=!STDE! %%x
@echo on
dmd %CORE% %STD% %STDD% %STDE% %DFLAGS% -ofbin\dfmt.exe