diff ldc.conf.in @ 1103:b30fe7e1dbb9

- Updated to DMD frontend 1.041. - Removed dmd/inifile.c , it's not under a free license, replaced with libconfig based config file.
author Tomas Lindquist Olsen <tomas.l.olsen gmail.com>
date Thu, 12 Mar 2009 20:37:27 +0100
parents a8cb25d478c4
children 81fd116b5dc9
line wrap: on
line diff
--- a/ldc.conf.in	Thu Mar 12 14:08:57 2009 +0100
+++ b/ldc.conf.in	Thu Mar 12 20:37:27 2009 +0100
@@ -1,2 +1,17 @@
-[Environment]
-DFLAGS=-I@RUNTIME_DIR@ -I@RUNTIME_DIR@/lib/common -L-L%@P%/../lib -d-version=Tango -defaultlib=@RUNTIME_AIO@ -debuglib=@RUNTIME_AIO@
+// 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.
+    // {#} is replaced with the path to the directory holding the executable
+    switches = [
+        "-I@RUNTIME_DIR@",
+        "-I@RUNTIME_DIR@/lib/common",
+        "-L-L@PROJECT_BINARY_DIR@/../lib",
+        "-d-version=Tango",
+        "-defaultlib=@RUNTIME_AIO@"
+    ];
+};