ocarina/include/Sconscript

9 lines
210 B
Plaintext
Raw Normal View History

#!/usr/bin/python
Import("env", "CONFIG_DEBUG", "CONFIG_VERSION")
version = str(CONFIG_VERSION)
if CONFIG_DEBUG == True:
version += "-debug"
env.Append( CCFLAGS = [ "-DCONFIG_VERSION='\"%s\"'" % version ] )