debug flag
authorvictor <victor@e16421f0-f15b-0410-abcd-98678b794739>
Tue, 17 Nov 2009 11:06:51 +0000 (11:06 +0000)
committervictor <victor@e16421f0-f15b-0410-abcd-98678b794739>
Tue, 17 Nov 2009 11:06:51 +0000 (11:06 +0000)
git-svn-id: https://ttuki.vtt.fi/svn/p2p-next/TUD/p2tp/trunk@570 e16421f0-f15b-0410-abcd-98678b794739

SConstruct

index 3267f1f..2cb36f7 100644 (file)
@@ -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,