comparison premake.lua @ 663:6aaa3d3c1183

First part of rename to LDC.
author Christian Kamm <kamm incasoftware de>
date Mon, 06 Oct 2008 22:46:55 +0200
parents 723806dc48d8
children 37a7688a7494
comparison
equal deleted inserted replaced
662:88e23f8c2354 663:6aaa3d3c1183
1 project.name = llvmdc 1 project.name = ldc
2 2
3 -- options 3 -- options
4 4
5 -- we always make vtables opaque, it simply kills performance... 5 -- we always make vtables opaque, it simply kills performance...
6 OPAQUE_VTBLS = 1 6 OPAQUE_VTBLS = 1
42 package.files = { "dmd/impcnvgen.c" } 42 package.files = { "dmd/impcnvgen.c" }
43 package.buildoptions = { "-x c++" } 43 package.buildoptions = { "-x c++" }
44 package.postbuildcommands = { "./impcnvgen", "mv -f impcnvtab.c dmd" } 44 package.postbuildcommands = { "./impcnvgen", "mv -f impcnvtab.c dmd" }
45 package.defines = { "DMDV1="..DMDV1 } 45 package.defines = { "DMDV1="..DMDV1 }
46 46
47 -- llvmdc 47 -- ldc
48 package = newpackage() 48 package = newpackage()
49 package.bindir = "bin" 49 package.bindir = "bin"
50 package.name = "llvmdc" 50 package.name = "ldc"
51 package.kind = "exe" 51 package.kind = "exe"
52 package.language = "c++" 52 package.language = "c++"
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`" }