Mercurial > projects > ldc
comparison premake.lua @ 125:c42d245468ea trunk
[svn r129] Started AA literals.
Fixed #15, passing -O will now invoke the optimizer before writing bitcode.
author | lindquist |
---|---|
date | Wed, 28 Nov 2007 04:52:35 +0100 |
parents | fd32135dca3e |
children | 5825d48b27d1 |
comparison
equal
deleted
inserted
replaced
124:a939ec89fc72 | 125:c42d245468ea |
---|---|
22 package.kind = "exe" | 22 package.kind = "exe" |
23 package.language = "c++" | 23 package.language = "c++" |
24 package.files = { matchfiles("dmd/*.c"), matchfiles("gen/*.cpp") } | 24 package.files = { matchfiles("dmd/*.c"), matchfiles("gen/*.cpp") } |
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 = { "`llvm-config --libs native bitwriter bitreader`", "`llvm-config --ldflags`" } | 27 package.linkoptions = { "`llvm-config --libs all`", "`llvm-config --ldflags`" } |
28 package.defines = { "IN_LLVM", "_DH" } | 28 package.defines = { "IN_LLVM", "_DH" } |
29 package.config.Release.defines = { "LLVMD_NO_LOGGER" } | 29 package.config.Release.defines = { "LLVMD_NO_LOGGER" } |
30 package.config.Debug.buildoptions = { "-g -O0" } | 30 package.config.Debug.buildoptions = { "-g -O0" } |
31 --package.targetprefix = "llvm" | 31 --package.targetprefix = "llvm" |
32 package.includepaths = { ".", "dmd" } | 32 package.includepaths = { ".", "dmd" } |