Kaydet (Commit) 69d31b74 authored tarafından Thomas Heller's avatar Thomas Heller

Pass the full pathname to MSVC when compiling a debug version. This

allows the debugger to find the source without asking the user to
browse for it.
üst 378498da
......@@ -309,6 +309,12 @@ class MSVCCompiler (CCompiler) :
else:
self.mkpath (os.path.dirname (obj))
if debug:
# pass the full pathname to MSVC in debug mode,
# this allows the debugger to find the source file
# without asking the user to browse for it
src = os.path.abspath(src)
if ext in self._c_extensions:
input_opt = "/Tc" + src
elif ext in self._cpp_extensions:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment