INNER CODE UNIT · Python

find_missing_includes

SpartanJ/eepp · projects/scripts/find_missing_includes.py:28

def find_missing_includes():
    script_dir = os.path.dirname(os.path.abspath(__file__))
    repo_root = os.path.abspath(os.path.join(script_dir, "..", ".."))

    include_base_dir = os.path.join(repo_root, "include")
    eepp_dir = os.path.join(include_base_dir, "eepp")

    if not os.path.exists(eepp_dir):
        print(f"Error: Could not find {eepp_dir}")
        return

    print("Scanning eepp modules for missing includes...\n")

    total_missing = 0

    # 1. Find all master module headers (e.g., ui.hpp, core.hpp, scene.hpp)
    for item in sorted(os.listdir(eepp_dir)):
        if not item.endswith(".hpp") or item == "ee.hpp" or item == "version.hpp":

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…