diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2009-04-16 14:45:21 +0400 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2009-04-16 14:45:21 +0400 |
commit | db7d0108c20332fc55c637e979c65cf55ca37428 (patch) | |
tree | b5c2c1a86095534ac7c9871e23fec6a32eef10bf /source/blender/makesdna/intern/SConscript | |
parent | 079304d199f7619f7eb0e8c256953505df1fcb53 (diff) |
2.5 / SCons
* make sure makesdna and makesrna work on windows in directories with spaces in them.
Diffstat (limited to 'source/blender/makesdna/intern/SConscript')
-rw-r--r-- | source/blender/makesdna/intern/SConscript | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/makesdna/intern/SConscript b/source/blender/makesdna/intern/SConscript index 6a4c7ddda6c..1c716019e80 100644 --- a/source/blender/makesdna/intern/SConscript +++ b/source/blender/makesdna/intern/SConscript @@ -56,7 +56,10 @@ if env['OURPLATFORM'] != 'linuxcross': if USE_WINE: dna.Command ('dna.c', '', 'wine ' + root_build_dir+os.sep+"makesdna $TARGET") else: - dna.Command ('dna.c', '', root_build_dir+os.sep+"makesdna $TARGET") + if env['OURPLATFORM'] in ('win32-vc', 'win64-vc', 'win32-mingw'): + dna.Command ('dna.c', '', "\"" + root_build_dir+os.sep+"makesdna\" $TARGET") + else: + dna.Command ('dna.c', '', root_build_dir+os.sep+"makesdna $TARGET") else: dna.Command ('dna.c', '', root_build_dir+os.sep+"makesdna.exe $TARGET") obj = ['intern/dna.c', 'intern/dna_genfile.c'] |