comparison premake.lua @ 544:1c7220171d41

Disable boehm gc by default. Use --enable-boehm-gc on premake to enable.
author Christian Kamm <kamm incasoftware de>
date Sun, 24 Aug 2008 18:25:34 +0200
parents 1d3026702f65
children cbd6c8073a32
comparison
equal deleted inserted replaced
538:8a73062f934e 544:1c7220171d41
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 !!!