Set environment variable 'name' to an MSVC path type value. This is equivalent to a SET command prior to execution of spawned commands.
(self, name)
| 305 | return [] |
| 306 | |
| 307 | def set_path_env_var(self, name): |
| 308 | """Set environment variable 'name' to an MSVC path type value. |
| 309 | |
| 310 | This is equivalent to a SET command prior to execution of spawned |
| 311 | commands. |
| 312 | """ |
| 313 | |
| 314 | if name == "lib": |
| 315 | p = self.get_msvc_paths("library") |
| 316 | else: |
| 317 | p = self.get_msvc_paths(name) |
| 318 | if p: |
| 319 | os.environ[name] = ';'.join(p) |
| 320 | |
| 321 | |
| 322 | if get_build_version() >= 8.0: |
nothing calls this directly
no test coverage detected