Mercurial > projects > ldc
diff ldc2.conf.in @ 1129:8403fec8c34c
Add dmd-style configuration file for rebuild usage. See #236 and thanks to ccuter for the patch!
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sat, 21 Mar 2009 09:47:48 +0100 |
parents | d6895f24dc8f |
children | 15f1707721fa |
line wrap: on
line diff
--- a/ldc2.conf.in Fri Mar 20 15:50:01 2009 +0100 +++ b/ldc2.conf.in Sat Mar 21 09:47:48 2009 +0100 @@ -1,2 +1,15 @@ -[Environment] -DFLAGS=-I@RUNTIME_DIR@/import -L-L%@P%/../lib +// This configuration file uses libconfig. +// See http://www.hyperrealm.com/libconfig/ for syntax details. + +// The default group is required +default: +{ + // 'switches' holds array of string that are appends to the command line + // arguments before they are parsed. + switches = [ + "-I@RUNTIME_DIR@/import", + "-L-L@PROJECT_BINARY_DIR@/../lib", + "-defaultlib=@RUNTIME_AIO@", + "-debuglib=@RUNTIME_AIO@" + ]; +};