mirror of
https://github.com/dlang/dmd.git
synced 2025-04-25 20:50:41 +03:00
Add building dmd with dub
This commit is contained in:
parent
da20db5e0e
commit
edbc819e06
3 changed files with 39 additions and 1 deletions
11
dub.sdl
11
dub.sdl
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue