summaryrefslogtreecommitdiffstats
path: root/src/engine
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)
commit04b10a2b9a5d1be08e3884c2f3ee641359b86989 (patch)
tree60fb1eb955582f3da74f4157906e678ca60c6596 /src/engine
parentdd400bd5b5151853b1fc8960922720725a121f98 (diff)
downloadSCons-04b10a2b9a5d1be08e3884c2f3ee641359b86989.zip
SCons-04b10a2b9a5d1be08e3884c2f3ee641359b86989.tar.gz
SCons-04b10a2b9a5d1be08e3884c2f3ee641359b86989.tar.bz2
Put quotes around the -C directory in command lines in MSVS project files.
Diffstat (limited to 'src/engine')
-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'