MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / main

Function main

modules/engine/basic_meta/_deprecated/configure.py:15–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13
14
15def main():
16 root = sys.argv[1]
17 outdir = sys.argv[2]
18 api = sys.argv[3]
19 module = sys.argv[4]
20
21 template = os.path.join(BASE, "configure.h.mako")
22 content = render(template, api=api.upper(), module=module)
23 output = os.path.join(outdir, "module.configure.h")
24 write(output, content)
25
26
27def GetInclude(path):

Callers 1

configure.pyFile · 0.70

Calls 4

upperMethod · 0.80
renderFunction · 0.70
writeFunction · 0.70
joinMethod · 0.45

Tested by

no test coverage detected