MCPcopy Create free account
hub / github.com/LunarG/VulkanTools / repo_relative

Function repo_relative

scripts/common_codegen.py:33–34  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

31
32# helper to define paths relative to the repo root
33def repo_relative(path):
34 return os.path.abspath(os.path.join(os.path.dirname(__file__), '..', path))
35
36# Points to the directory containing the top level CMakeLists.txt
37PROJECT_SRC_DIR = os.path.abspath(os.path.join(os.path.split(os.path.abspath(__file__))[0], '..'))

Callers 1

RunShellCmdFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected