comparison premake.lua @ 35:3cfcb944304e trunk

[svn r39] * Updated to DMD 1.022 with the exception of: Bugzilla 278: dmd.conf search path doesn't work This fix was causing crashes for me :/ So for it's the old behaviour
author lindquist
date Tue, 09 Oct 2007 06:21:30 +0200
parents e116aa1488e6
children fd32135dca3e
comparison
equal deleted inserted replaced
34:4648206ca213 35:3cfcb944304e
1 project.name = llvmdc 1 project.name = llvmdc
2 project.bindir = "bin"
3 2
4 package = newpackage() 3 package = newpackage()
5 package.name = "idgen" 4 package.name = "idgen"
6 package.kind = "exe" 5 package.kind = "exe"
7 package.language = "c++" 6 package.language = "c++"
8 package.files = { "dmd/idgen.c" } 7 package.files = { "dmd/idgen.c" }
9 package.buildoptions = { "-x c++" } 8 package.buildoptions = { "-x c++" }
10 package.postbuildcommands = { "bin/idgen", "mv -f id.c id.h dmd" } 9 package.postbuildcommands = { "./idgen", "mv -f id.c id.h dmd" }
11 10
12 package = newpackage() 11 package = newpackage()
13 package.name = "impcnvgen" 12 package.name = "impcnvgen"
14 package.kind = "exe" 13 package.kind = "exe"
15 package.language = "c++" 14 package.language = "c++"
16 package.files = { "dmd/impcnvgen.c" } 15 package.files = { "dmd/impcnvgen.c" }
17 package.buildoptions = { "-x c++" } 16 package.buildoptions = { "-x c++" }
18 package.postbuildcommands = { "bin/impcnvgen", "mv -f impcnvtab.c dmd" } 17 package.postbuildcommands = { "./impcnvgen", "mv -f impcnvtab.c dmd" }
19 18
20 package = newpackage() 19 package = newpackage()
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/*.c") } 24 package.files = { matchfiles("dmd/*.c"), matchfiles("gen/*.c") }
25 package.excludes = { "dmd/idgen.c", "dmd/impcnvgen.c" } 25 package.excludes = { "dmd/idgen.c", "dmd/impcnvgen.c" }