scons: Use a cache for built files.

Like ccache, but works on all OSes.
This commit is contained in:
José Fonseca 2009-01-23 21:01:16 +00:00
parent aa210b327e
commit 18170bb51b

View file

@ -207,6 +207,7 @@ def generate(env):
# different scons versions building the same source file
env['build'] = build_dir
env.SConsignFile(os.path.join(build_dir, '.sconsign'))
env.CacheDir('build/cache')
# C preprocessor options
cppdefines = []