summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Tool/msvs.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2005-10-09 22:43:28 (GMT)
committerSteven Knight <knight@baldmt.com>2005-10-09 22:43:28 (GMT)
commitaa8ee0923301d055ea4a595145cc71789e8b3f8d (patch)
tree60fb1eb955582f3da74f4157906e678ca60c6596 /src/engine/SCons/Tool/msvs.py
parent435130568f78858e4d122c2ff2d1de7eb25feb80 (diff)
downloadSCons-aa8ee0923301d055ea4a595145cc71789e8b3f8d.zip
SCons-aa8ee0923301d055ea4a595145cc71789e8b3f8d.tar.gz
SCons-aa8ee0923301d055ea4a595145cc71789e8b3f8d.tar.bz2
Put quotes around the -C directory in command lines in MSVS project files.
Diffstat (limited to 'src/engine/SCons/Tool/msvs.py')
-rw-r--r--src/engine/SCons/Tool/msvs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/SCons/Tool/msvs.py b/src/engine/SCons/Tool/msvs.py
index 5542a88..084f1d4 100644
--- a/src/engine/SCons/Tool/msvs.py
+++ b/src/engine/SCons/Tool/msvs.py
@@ -1419,7 +1419,7 @@ def generate(env):
env['MSVSSCONSCRIPT'] = env.File('SConstruct')
env['MSVSSCONS'] = '"%s" -c "%s"' % (python_executable, exec_script_main)
- env['MSVSSCONSFLAGS'] = '-C ${MSVSSCONSCRIPT.dir.abspath} -f ${MSVSSCONSCRIPT.name}'
+ env['MSVSSCONSFLAGS'] = '-C "${MSVSSCONSCRIPT.dir.abspath}" -f ${MSVSSCONSCRIPT.name}'
env['MSVSSCONSCOM'] = '$MSVSSCONS $MSVSSCONSFLAGS'
env['MSVSBUILDCOM'] = '$MSVSSCONSCOM $MSVSBUILDTARGET'
env['MSVSREBUILDCOM'] = '$MSVSSCONSCOM $MSVSBUILDTARGET'