Generate correct ldc2.conf for phobos

This commit is contained in:
Alexey Prokhin
2011-02-23 20:39:04 +03:00
parent e921998d75
commit 40621f55d5
2 changed files with 36 additions and 3 deletions

17
ldc2_phobos.conf.in Normal file
View File

@@ -0,0 +1,17 @@
// 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",
"-I@RUNTIME_DIR@/src",
"-I@PHOBOS2_DIR@/",
"-L-L@PROJECT_BINARY_DIR@/../lib",
"-defaultlib=phobos2",
"-debuglib=phobos2"
];
};