A few windows fixes.

pull/15/head
Jussi Pakkanen 12 years ago
parent 4637e07734
commit aa38b1859f
  1. 2
      backends.py
  2. 2
      environment.py

@ -30,7 +30,7 @@ else:
execute_wrapper = ''
def ninja_quote(text):
return text.replace(' ', '$ ')
return text.replace(' ', '$ ').replace(':', '$:')
def do_replacement(regex, line, confdata):
match = re.search(regex, line)

@ -256,6 +256,8 @@ class VisualStudioCCompiler(CCompiler):
return ['/c']
def get_output_flags(self, target):
if target.endswith('.exe'):
return ['/Fe' + target]
return ['/Fo' + target]
def get_dependency_gen_flags(self, outtarget, outfile):

Loading…
Cancel
Save