Mercurial > projects > ldc
annotate premake.lua @ 86:fd32135dca3e trunk
[svn r90] Major updates to the gen directory. Redesigned the 'elem' struct. Much more... !!!
Lots of bugfixes.
Added support for special foreach on strings.
Added std.array, std.utf, std.ctype and std.uni to phobos.
Changed all the .c files in the gen dir to .cpp (it *is* C++ after all)
author | lindquist |
---|---|
date | Sat, 03 Nov 2007 14:44:58 +0100 |
parents | 3cfcb944304e |
children | c42d245468ea |
rev | line source |
---|---|
1 | 1 project.name = llvmdc |
2 | |
3 package = newpackage() | |
4 package.name = "idgen" | |
5 package.kind = "exe" | |
6 package.language = "c++" | |
7 package.files = { "dmd/idgen.c" } | |
8 package.buildoptions = { "-x c++" } | |
35
3cfcb944304e
[svn r39] * Updated to DMD 1.022 with the exception of:
lindquist
parents:
4
diff
changeset
|
9 package.postbuildcommands = { "./idgen", "mv -f id.c id.h dmd" } |
1 | 10 |
11 package = newpackage() | |
12 package.name = "impcnvgen" | |
13 package.kind = "exe" | |
14 package.language = "c++" | |
15 package.files = { "dmd/impcnvgen.c" } | |
16 package.buildoptions = { "-x c++" } | |
35
3cfcb944304e
[svn r39] * Updated to DMD 1.022 with the exception of:
lindquist
parents:
4
diff
changeset
|
17 package.postbuildcommands = { "./impcnvgen", "mv -f impcnvtab.c dmd" } |
1 | 18 |
19 package = newpackage() | |
35
3cfcb944304e
[svn r39] * Updated to DMD 1.022 with the exception of:
lindquist
parents:
4
diff
changeset
|
20 package.bindir = "bin" |
1 | 21 package.name = "llvmdc" |
22 package.kind = "exe" | |
23 package.language = "c++" | |
86
fd32135dca3e
[svn r90] Major updates to the gen directory. Redesigned the 'elem' struct. Much more... !!!
lindquist
parents:
35
diff
changeset
|
24 package.files = { matchfiles("dmd/*.c"), matchfiles("gen/*.cpp") } |
1 | 25 package.excludes = { "dmd/idgen.c", "dmd/impcnvgen.c" } |
26 package.buildoptions = { "-x c++", "`llvm-config --cxxflags`" } | |
27 package.linkoptions = { "`llvm-config --libs native bitwriter bitreader`", "`llvm-config --ldflags`" } | |
28 package.defines = { "IN_LLVM", "_DH" } | |
29 package.config.Release.defines = { "LLVMD_NO_LOGGER" } | |
86
fd32135dca3e
[svn r90] Major updates to the gen directory. Redesigned the 'elem' struct. Much more... !!!
lindquist
parents:
35
diff
changeset
|
30 package.config.Debug.buildoptions = { "-g -O0" } |
1 | 31 --package.targetprefix = "llvm" |
4
e116aa1488e6
[svn r8] changed backend includes to always use the gen/<foo>.h prefix
lindquist
parents:
1
diff
changeset
|
32 package.includepaths = { ".", "dmd" } |
1 | 33 --package.postbuildcommands = { "cd runtime; ./build.sh; cd .." } |
34 package.links = { "gc" } |