From: victor Date: Tue, 17 Nov 2009 11:06:51 +0000 (+0000) Subject: debug flag X-Git-Url: http://p2p-next.cs.pub.ro/gitweb/?a=commitdiff_plain;h=c5c6b9feb8465d46548320be73612579310baee4;p=swift-upb.git debug flag git-svn-id: https://ttuki.vtt.fi/svn/p2p-next/TUD/p2tp/trunk@570 e16421f0-f15b-0410-abcd-98678b794739 --- diff --git a/SConstruct b/SConstruct index 3267f1f..2cb36f7 100644 --- a/SConstruct +++ b/SConstruct @@ -89,6 +89,9 @@ else: libpath = "" print "To use external libs, set LIBPATH environment variable to list of colon-separated lib dirs" +if DEBUG: + env.Append(CXXFLAGS="-DDEBUG") + env.StaticLibrary ( target= target, source = source,