Lines Matching refs:path
106 def set_macro(self, macro, path, key):
108 d = read_values(base, path)
192 np = os.path.normpath(p)
258 self.__paths = self.get_msvc_paths("path")
274 # extend the MSVC path with the current path
276 for p in os.environ['path'].split(';'):
281 os.environ['path'] = ";".join(self.__paths)
320 (base, ext) = os.path.splitext (src_name)
321 base = os.path.splitdrive(base)[1] # Chop off the drive
322 base = base[os.path.isabs(base):] # If abs, chop off leading /
329 base = os.path.basename (base)
331 obj_names.append (os.path.join (output_dir,
334 obj_names.append (os.path.join (output_dir,
337 obj_names.append (os.path.join (output_dir,
368 src = os.path.abspath(src)
396 h_dir = os.path.dirname(src)
397 rc_dir = os.path.dirname(obj)
402 base, _ = os.path.splitext (os.path.basename (src))
403 rc_file = os.path.join (rc_dir, base + '.rc')
482 output_filename = os.path.join(output_dir, output_filename)
509 (dll_name, dll_ext) = os.path.splitext(
510 os.path.basename(output_filename))
511 implib_file = os.path.join(
512 os.path.dirname(objects[0]),
521 self.mkpath(os.path.dirname(output_filename))
540 "don't know how to set runtime library search path for MSVC++")
555 libfile = os.path.join(dir, self.library_filename (name))
556 if os.path.exists(libfile):
565 """Return path to an MSVC executable program.
570 absolute path that is known to exist. If none of them work, just
574 fn = os.path.join(os.path.abspath(p), exe)
575 if os.path.isfile(fn):
578 # didn't find it; try existing path
580 fn = os.path.join(os.path.abspath(p),exe)
581 if os.path.isfile(fn):
586 def get_msvc_paths(self, path, platform='x86'):
587 """Get a list of devstudio directories (include, lib or path).
595 path = path + " dirs"
607 return self.__macros.sub(d[path]).split(";")
609 return d[path].split(";")
623 """Set environment variable 'name' to an MSVC path type value.