Add building dmd with dub

This commit is contained in:
dkorpel 2023-09-01 14:53:20 +02:00 committed by Mathias LANG
parent da20db5e0e
commit edbc819e06
3 changed files with 39 additions and 1 deletions

11
dub.sdl
View file

@ -7,6 +7,17 @@ license "BSL-1.0"
targetType "none"
dependency ":frontend" version="*"
subPackage {
name "compiler"
targetType "executable"
targetName "dmd"
sourcePaths "compiler/src/dmd"
importPaths "compiler/src"
stringImportPaths "compiler/src/dmd/res" "."
dflags "-L/STACK:16777216" platform="windows"
preGenerateCommands "echo -n /etc > SYSCONFDIR.imp" platform="posix"
}
subPackage {
name "root"
targetType "library"