Ejemplo n.º 1
0
def path_to_object_path(path: Path) -> Path:
    path = clean_up_path(path)
    if options.use_o_as_suffix():
        full_suffix = ".o"
    else:
        full_suffix = path.suffix + ".o"
    return clean_up_path(options.get_build_path() /
                         path.with_suffix(full_suffix))
Ejemplo n.º 2
0
def path_to_object_path(path: Path) -> Path:
    path = clean_up_path(path)
    return options.get_build_path() / path.with_suffix(path.suffix + ".o")
Ejemplo n.º 3
0
def path_to_object_path(path: Path) -> Path:
    path = options.get_build_path() / path.with_suffix(
        path.suffix + ".o").relative_to(options.get_base_path())
    return clean_up_path(path)
Ejemplo n.º 4
0
 def effect_path(self, effect):
     return options.get_build_path() / "asm" / "effects" / f"{effect}.s"
Ejemplo n.º 5
0
 def shim_path(self, shim):
     return options.get_build_path() / "asm" / "effect_shims" / f"{shim}.s"