Mercurial > projects > ldc
comparison premake.lua @ 545:a42610460308
Automated merge with http://hg.dsource.org/projects/llvmdc
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sun, 24 Aug 2008 18:25:45 +0200 |
parents | 1c7220171d41 |
children | cbd6c8073a32 |
comparison
equal
deleted
inserted
replaced
543:f478666f5b96 | 545:a42610460308 |
---|---|
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 |
7 | 7 |
8 -- use of boehm gc | 8 -- use of boehm gc |
9 if OS == "windows" then | 9 USE_BOEHM_GC = 0 |
10 USE_BOEHM_GC = 0 | 10 if OS ~= "windows" then |
11 else | 11 addoption("enable-boehm-gc", "Enable use of the Boehm GC (broken!)") |
12 addoption("no-boehm", "Disable use of the Boehm GC") | |
13 | 12 |
14 if options["no-boehm"] then | 13 if options["enable-boehm-gc"] then |
15 USE_BOEHM_GC = 0 | |
16 else | |
17 USE_BOEHM_GC = 1 | 14 USE_BOEHM_GC = 1 |
18 end | 15 end |
19 end | 16 end |
20 | 17 |
21 -- D version - don't change these !!! | 18 -- D version - don't change these !!! |