ocarina/include/Sconscript
Anna Schumaker 7aa5f22777 Add valgrind support to testing
To help find memory leaks!

Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
2014-05-14 17:49:03 -04:00

10 lines
207 B
Python

#!/usr/bin/python
Import("env", "test_env")
version = str(env.Version)
if env.Debug == True:
version += "-debug"
for e in (env, test_env):
e.Append( CCFLAGS = [ "-DCONFIG_VERSION='\"%s\"'" % version ] )