ocarina/include/Sconscript

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 ] )