diff options
author | Pedro Kroger <kroeger@pedrokroeger.net> | 2004-07-18 12:43:38 +0000 |
---|---|---|
committer | Pedro Kroger <kroeger@pedrokroeger.net> | 2004-07-18 12:43:38 +0000 |
commit | 956588094884eb5a6f3c2571536d1758754cf635 (patch) | |
tree | 3e9594196f5592fd80ccc464d4552b0d63ae4367 /SConstruct | |
parent | 8d175d8dfdb8b471f29f55aa9f3022c1a396196d (diff) |
Create out-scons/buildcache if it doesn't exist.
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct index 42b93c0a72..63d9a4e2c0 100644 --- a/SConstruct +++ b/SConstruct @@ -194,6 +194,10 @@ version_hh = os.path.join (outdir, 'version.hh') env.Alias ('config', config_cache) +cachedir = os.path.join (outdir, 'build-cache') + +if not os.path.exists(cachedir): + os.makedirs(cachedir) CacheDir (os.path.join (outdir, 'build-cache')) |