Mercurial > projects > ldc
annotate ldc.conf.in @ 1648:18bbb1436153 0.9.2
Change the ldc.conf file output to match the newer Tango directory structure and only use libtango-user-ldc for the libs to match the 0.99.9 build instructions.
author | Kelly Wilson <wilsonk cpsc.ucalgary.ca> |
---|---|
date | Wed, 10 Mar 2010 20:21:05 -0700 |
parents | e16ea850ff81 |
children |
rev | line source |
---|---|
1103
b30fe7e1dbb9
- Updated to DMD frontend 1.041.
Tomas Lindquist Olsen <tomas.l.olsen gmail.com>
parents:
986
diff
changeset
|
1 // This configuration file uses libconfig. |
b30fe7e1dbb9
- Updated to DMD frontend 1.041.
Tomas Lindquist Olsen <tomas.l.olsen gmail.com>
parents:
986
diff
changeset
|
2 // See http://www.hyperrealm.com/libconfig/ for syntax details. |
b30fe7e1dbb9
- Updated to DMD frontend 1.041.
Tomas Lindquist Olsen <tomas.l.olsen gmail.com>
parents:
986
diff
changeset
|
3 |
1394
193ab3969920
Added a comment to the ldc.conf.in template about the %%ldcbinarydir%% "macro".
Tomas Lindquist Olsen <tomas.l.olsen gmail com>
parents:
1340
diff
changeset
|
4 // Special macros: |
1631
e16ea850ff81
missed ldcbinarypath => ldcbinarydir
Moritz Warning <moritzwarning@web.de>
parents:
1394
diff
changeset
|
5 // %%ldcbinarypath%% |
1394
193ab3969920
Added a comment to the ldc.conf.in template about the %%ldcbinarydir%% "macro".
Tomas Lindquist Olsen <tomas.l.olsen gmail com>
parents:
1340
diff
changeset
|
6 // - is replaced with the path to the directory holding the ldc executable |
193ab3969920
Added a comment to the ldc.conf.in template about the %%ldcbinarydir%% "macro".
Tomas Lindquist Olsen <tomas.l.olsen gmail com>
parents:
1340
diff
changeset
|
7 |
1103
b30fe7e1dbb9
- Updated to DMD frontend 1.041.
Tomas Lindquist Olsen <tomas.l.olsen gmail.com>
parents:
986
diff
changeset
|
8 // The default group is required |
b30fe7e1dbb9
- Updated to DMD frontend 1.041.
Tomas Lindquist Olsen <tomas.l.olsen gmail.com>
parents:
986
diff
changeset
|
9 default: |
b30fe7e1dbb9
- Updated to DMD frontend 1.041.
Tomas Lindquist Olsen <tomas.l.olsen gmail.com>
parents:
986
diff
changeset
|
10 { |
b30fe7e1dbb9
- Updated to DMD frontend 1.041.
Tomas Lindquist Olsen <tomas.l.olsen gmail.com>
parents:
986
diff
changeset
|
11 // 'switches' holds array of string that are appends to the command line |
b30fe7e1dbb9
- Updated to DMD frontend 1.041.
Tomas Lindquist Olsen <tomas.l.olsen gmail.com>
parents:
986
diff
changeset
|
12 // arguments before they are parsed. |
b30fe7e1dbb9
- Updated to DMD frontend 1.041.
Tomas Lindquist Olsen <tomas.l.olsen gmail.com>
parents:
986
diff
changeset
|
13 switches = [ |
b30fe7e1dbb9
- Updated to DMD frontend 1.041.
Tomas Lindquist Olsen <tomas.l.olsen gmail.com>
parents:
986
diff
changeset
|
14 "-I@RUNTIME_DIR@", |
1648
18bbb1436153
Change the ldc.conf file output to match the newer Tango directory structure and only use libtango-user-ldc for the libs to match the 0.99.9 build instructions.
Kelly Wilson <wilsonk cpsc.ucalgary.ca>
parents:
1631
diff
changeset
|
15 "-I@RUNTIME_DIR@/user", |
1103
b30fe7e1dbb9
- Updated to DMD frontend 1.041.
Tomas Lindquist Olsen <tomas.l.olsen gmail.com>
parents:
986
diff
changeset
|
16 "-I@RUNTIME_DIR@/lib/common", |
1648
18bbb1436153
Change the ldc.conf file output to match the newer Tango directory structure and only use libtango-user-ldc for the libs to match the 0.99.9 build instructions.
Kelly Wilson <wilsonk cpsc.ucalgary.ca>
parents:
1631
diff
changeset
|
17 "-I@RUNTIME_DIR@/tango/core/vendor", |
1340
206329112670
Fix the ldcbinarypath config file rewriting.
Christian Kamm <kamm incasoftware de>
parents:
1337
diff
changeset
|
18 "-L-L%%ldcbinarypath%%/../lib", |
1103
b30fe7e1dbb9
- Updated to DMD frontend 1.041.
Tomas Lindquist Olsen <tomas.l.olsen gmail.com>
parents:
986
diff
changeset
|
19 "-d-version=Tango", |
1119
2cd6199488f6
Fix -g with default ldc.conf
Frits van Bommel <fvbommel wxs.nl>
parents:
1104
diff
changeset
|
20 "-defaultlib=@RUNTIME_AIO@", |
2cd6199488f6
Fix -g with default ldc.conf
Frits van Bommel <fvbommel wxs.nl>
parents:
1104
diff
changeset
|
21 "-debuglib=@RUNTIME_AIO@" |
1103
b30fe7e1dbb9
- Updated to DMD frontend 1.041.
Tomas Lindquist Olsen <tomas.l.olsen gmail.com>
parents:
986
diff
changeset
|
22 ]; |
b30fe7e1dbb9
- Updated to DMD frontend 1.041.
Tomas Lindquist Olsen <tomas.l.olsen gmail.com>
parents:
986
diff
changeset
|
23 }; |