Mercurial > projects > ldc
annotate premake.lua @ 54:28e99b04a132 trunk
[svn r58] Fixed cond expression resulting in a non-basic type.
Fixed identity expression for dynamic arrays.
Revamped the system to keep track of lvalues and rvalues and their relations.
Typedef declaration now generate the custom typeinfo.
Other bugfixes.
author | lindquist |
---|---|
date | Wed, 24 Oct 2007 01:37:34 +0200 |
parents | 3cfcb944304e |
children | fd32135dca3e |
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++" | |
24 package.files = { matchfiles("dmd/*.c"), matchfiles("gen/*.c") } | |
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" } | |
30 package.config.Debug.buildoptions = { "-g" } | |
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" } |