From db7d0108c20332fc55c637e979c65cf55ca37428 Mon Sep 17 00:00:00 2001 From: Nathan Letwory Date: Thu, 16 Apr 2009 10:45:21 +0000 Subject: 2.5 / SCons * make sure makesdna and makesrna work on windows in directories with spaces in them. --- source/blender/makesdna/intern/SConscript | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'source/blender/makesdna/intern/SConscript') 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'] -- cgit v1.2.3