MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / compiler_wrapper

Method compiler_wrapper

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

Source from the content-addressed store, hash-verified

259
260 # Gets the wrapper to use for compiler commands, if set.
261 def compiler_wrapper(self) -> Optional[Path]:
262 wrapper = self.wrapper
263
264 if self.use_wibo():
265 wrapper = self.build_dir / "tools" / "wibo"
266 if not is_windows() and wrapper is None:
267 wrapper = Path("wine")
268
269 return wrapper
270
271 # Determines whether or not to use wibo as the compiler wrapper.
272 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