Mercurial > projects > ldc
comparison premake.lua @ 193:aca17e55b7a5 trunk
[svn r209] Fixed: exotic array to pointer casts were broken.
Changed: classes now have opaque vtables.
author | lindquist |
---|---|
date | Mon, 12 May 2008 18:44:11 +0200 |
parents | 0e28624814e8 |
children | a168a2c3ea48 |
comparison
equal
deleted
inserted
replaced
192:67ed21bf16af | 193:aca17e55b7a5 |
---|---|
25 package.excludes = { "dmd/idgen.c", "dmd/impcnvgen.c" } | 25 package.excludes = { "dmd/idgen.c", "dmd/impcnvgen.c" } |
26 package.buildoptions = { "-x c++", "`llvm-config --cxxflags`" } | 26 package.buildoptions = { "-x c++", "`llvm-config --cxxflags`" } |
27 package.linkoptions = { | 27 package.linkoptions = { |
28 -- long but it's faster than just 'all' | 28 -- long but it's faster than just 'all' |
29 "`llvm-config --libs core asmparser bitreader bitwriter support target transformutils scalaropts ipo instrumentation x86 powerpc`", | 29 "`llvm-config --libs core asmparser bitreader bitwriter support target transformutils scalaropts ipo instrumentation x86 powerpc`", |
30 "`llvm-config --ldflags`" | 30 "`llvm-config --ldflags`", |
31 } | 31 } |
32 package.defines = { "IN_LLVM", "_DH" } | 32 package.defines = { |
33 "IN_LLVM", | |
34 "_DH", | |
35 "OPAQUE_VTBLS=1", | |
36 } | |
33 package.config.Release.defines = { "LLVMD_NO_LOGGER" } | 37 package.config.Release.defines = { "LLVMD_NO_LOGGER" } |
34 package.config.Debug.buildoptions = { "-g -O0" } | 38 package.config.Debug.buildoptions = { "-g -O0" } |
35 --package.targetprefix = "llvm" | 39 --package.targetprefix = "llvm" |
36 package.includepaths = { ".", "dmd" } | 40 package.includepaths = { ".", "dmd" } |
37 --package.postbuildcommands = { "cd runtime; ./build.sh; cd .." } | 41 --package.postbuildcommands = { "cd runtime; ./build.sh; cd .." } |