Mercurial > projects > ldc
comparison premake.lua @ 136:0e28624814e8 trunk
[svn r140] did a lot of the work towards being able to pass multiple modules on the command line. not complete yet though
author | lindquist |
---|---|
date | Thu, 17 Jan 2008 03:15:12 +0100 |
parents | 5825d48b27d1 |
children | aca17e55b7a5 |
comparison
equal
deleted
inserted
replaced
135:176bd52b3cf5 | 136:0e28624814e8 |
---|---|
19 package = newpackage() | 19 package = newpackage() |
20 package.bindir = "bin" | 20 package.bindir = "bin" |
21 package.name = "llvmdc" | 21 package.name = "llvmdc" |
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"), matchfiles("ir/*.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 = { | 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`", |