31 lines
1.4 KiB
Batchfile
31 lines
1.4 KiB
Batchfile
@echo off
|
|
setlocal enabledelayedexpansion
|
|
|
|
set DFLAGS=-O -release -inline
|
|
set CORE=
|
|
set LIBDPARSE=
|
|
set STD=
|
|
set ANALYSIS=
|
|
set INIFILED=
|
|
set DSYMBOL=
|
|
set CONTAINERS=
|
|
set LIBDDOC=
|
|
|
|
for %%x in (src\*.d) do set CORE=!CORE! %%x
|
|
for %%x in (src\analysis\*.d) do set ANALYSIS=!ANALYSIS! %%x
|
|
for %%x in (libdparse\experimental_allocator\src\std\experimental\allocator\*.d) do set STD=!STD! %%x
|
|
for %%x in (libdparse\experimental_allocator\src\std\experimental\allocator\building_blocks\*.d) do set STD=!STD! %%x
|
|
for %%x in (libdparse\src\dparse\*.d) do set LIBDPARSE=!LIBDPARSE! %%x
|
|
for %%x in (libdparse\src\std\experimental\*.d) do set LIBDPARSE=!LIBDPARSE! %%x
|
|
for %%x in (libddoc\src\ddoc\*.d) do set LIBDDOC=!LIBDDOC! %%x
|
|
for %%x in (inifiled\source\*.d) do set INIFILED=!INIFILED! %%x
|
|
for %%x in (dsymbol\src\dsymbol\*.d) do set DSYMBOL=!DSYMBOL! %%x
|
|
for %%x in (dsymbol\src\dsymbol\builtin\*.d) do set DSYMBOL=!DSYMBOL! %%x
|
|
for %%x in (dsymbol\src\dsymbol\conversion\*.d) do set DSYMBOL=!DSYMBOL! %%x
|
|
for %%x in (containers\src\containers\*.d) do set CONTAINERS=!CONTAINERS! %%x
|
|
for %%x in (containers\src\containers\internal\*.d) do set CONTAINERS=!CONTAINERS! %%x
|
|
|
|
@echo on
|
|
dmd %CORE% %STD% %LIBDPARSE% %LIBDDOC% %ANALYSIS% %INIFILED% %DSYMBOL% %CONTAINERS% %DFLAGS% -I"libdparse\src" -I"dsymbol\src" -I"containers\src" -I"libddoc\src" -ofdscanner.exe
|
|
|