MCPcopy Create free account
hub / github.com/doldecomp/mkdd / compiler_wrapper

Method compiler_wrapper

tools/project.py:274–282  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

272
273 # Gets the wrapper to use for compiler commands, if set.
274 def compiler_wrapper(self) -> Optional[Path]:
275 wrapper = self.wrapper
276
277 if self.use_wibo():
278 wrapper = self.build_dir / "tools" / "wibo"
279 if not is_windows() and wrapper is None:
280 wrapper = Path("wine")
281
282 return wrapper
283
284 # Determines whether or not to use wibo as the compiler wrapper.
285 def use_wibo(self) -> bool:

Callers 1

generate_build_ninjaFunction · 0.80

Calls 2

use_wiboMethod · 0.95
is_windowsFunction · 0.85

Tested by

no test coverage detected