INNER CODE UNIT · Python

find_objects

SpaRcle-Studio/SREngine · CI/scripts/analyze_msvc_symbols.py:45

def find_objects(build_dir: Path, library: str):
    if library == "Engine":
        return list((build_dir / "Engine" / "CMakeFiles" / "Engine.dir").rglob("*.obj"))

    root = (build_dir / "Engine" / "libs" / library / "CMakeFiles" / f"{library}.dir")

    if not root.exists():
        return []

    return list(root.rglob("*.obj"))


def analyze_obj(obj: Path):
    try:
        result = subprocess.run(
            ["dumpbin", "/symbols", str(obj)],
            stdout=subprocess.PIPE,
            stderr=subprocess.STDOUT,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…