From 8fa9a04d820f73dc00b3dcb137b417b846e6ff68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Remko=20Tron=C3=A7on?= Date: Tue, 11 Aug 2009 21:21:21 +0200 Subject: Disable debug on windows by default. diff --git a/SConstruct b/SConstruct index a7727bd..fb940ab 100644 --- a/SConstruct +++ b/SConstruct @@ -6,7 +6,7 @@ import sys, os vars = Variables("config.py") vars.Add(BoolVariable("optimize", "Compile with optimizations turned on", "no")) -vars.Add(BoolVariable("debug", "Compile with debug information", "yes")) +vars.Add(BoolVariable("debug", "Compile with debug information", "yes" if os.name != "nt" else "no")) vars.Add(BoolVariable("warnings", "Compile with warnings turned on", "yes" if os.name != "nt" else "no")) if os.name != "nt" : -- cgit v0.10.2-6-g49f6