From: Christian Dywan Date: Sun, 25 Apr 2010 21:37:58 +0000 (+0200) Subject: Extensive/ no checks in Vala according to debug level X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=efa2032c5c398d3d39d22b46c981cc7dda8df080;p=midori Extensive/ no checks in Vala according to debug level --- diff --git a/wscript b/wscript index 6d866a53..140b8985 100644 --- a/wscript +++ b/wscript @@ -322,6 +322,10 @@ def configure (conf): '-DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED ' '-DGTK_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED ' '-DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE'.split ()) + if debug_level == 'full': + conf.env.append_value ('VALAFLAGS', '--enable-checking'.split ()) + elif debug_level == 'none': + conf.env.append_value ('VALAFLAGS', '--disable-assert') print ''' Localization: %(nls)s (intltool) Icon optimizations: %(icons)s (rsvg-convert)