Mercurial > projects > ldc
comparison premake.lua @ 295:895e1b50cf2a trunk
[svn r316] Fixed array slice assignments like: int[] arr = ...; arr[] = 42;
There was problems with most non basic types...
Added an option to premake so we can do: premake --target gnu --no-boehm
to disable the Boehm GC.
author | lindquist |
---|---|
date | Mon, 23 Jun 2008 14:48:42 +0200 |
parents | 297690b5d4a5 |
children | aaade6ded589 |
comparison
equal
deleted
inserted
replaced
294:94435b0ab2dd | 295:895e1b50cf2a |
---|---|
1 project.name = llvmdc | 1 project.name = llvmdc |
2 | 2 |
3 -- options | 3 -- options |
4 | |
5 -- we always make vtables opaque, it simply kills performance... | |
4 OPAQUE_VTBLS = 1 | 6 OPAQUE_VTBLS = 1 |
7 | |
8 -- use of boehm gc | |
5 if OS == "windows" then | 9 if OS == "windows" then |
6 USE_BOEHM_GC = 0 | 10 USE_BOEHM_GC = 0 |
7 else | 11 else |
8 USE_BOEHM_GC = 1 | 12 addoption("no-boehm", "Disable use of the Boehm GC") |
13 | |
14 if options["no-boehm"] then | |
15 USE_BOEHM_GC = 0 | |
16 else | |
17 USE_BOEHM_GC = 1 | |
18 end | |
9 end | 19 end |
10 | 20 |
11 -- idgen | 21 -- idgen |
12 package = newpackage() | 22 package = newpackage() |
13 package.name = "idgen" | 23 package.name = "idgen" |