Mercurial > projects > ldc
comparison premake.lua @ 673:37a7688a7494
Add basics for direct assembly output.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sat, 11 Oct 2008 11:07:53 +0200 |
parents | 6aaa3d3c1183 |
children | ed9a9e6dd1cc |
comparison
equal
deleted
inserted
replaced
672:22b6947fd30c | 673:37a7688a7494 |
---|---|
53 package.files = { matchfiles("dmd/*.c"), matchfiles("gen/*.cpp"), matchfiles("ir/*.cpp") } | 53 package.files = { matchfiles("dmd/*.c"), matchfiles("gen/*.cpp"), matchfiles("ir/*.cpp") } |
54 package.excludes = { "dmd/idgen.c", "dmd/impcnvgen.c" } | 54 package.excludes = { "dmd/idgen.c", "dmd/impcnvgen.c" } |
55 package.buildoptions = { "-x c++", "`llvm-config --cxxflags`" } | 55 package.buildoptions = { "-x c++", "`llvm-config --cxxflags`" } |
56 package.linkoptions = { | 56 package.linkoptions = { |
57 -- long but it's faster than just 'all' | 57 -- long but it's faster than just 'all' |
58 "`llvm-config --libs bitwriter linker ipo instrumentation`", | 58 "`llvm-config --libs bitwriter linker ipo instrumentation backend`", |
59 "`llvm-config --ldflags`", | 59 "`llvm-config --ldflags`", |
60 } | 60 } |
61 package.defines = { | 61 package.defines = { |
62 "IN_LLVM", | 62 "IN_LLVM", |
63 "_DH", | 63 "_DH", |