From efa2032c5c398d3d39d22b46c981cc7dda8df080 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Sun, 25 Apr 2010 23:37:58 +0200 Subject: [PATCH] Extensive/ no checks in Vala according to debug level --- wscript | 4 ++++ 1 file changed, 4 insertions(+) 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) -- 2.39.5