MCPcopy Create free account
hub / github.com/davidgiven/fluxengine / romfs

Function romfs

src/gui2/build.py:330–350  ·  view source on GitHub ↗
(name, id, dir)

Source from the content-addressed store, hash-verified

328
329
330def romfs(name, id, dir):
331 cxxprogram(
332 name=f"{id}_mkromfs",
333 srcs=["./tools/mkromfs.cc"],
334 cflags=[
335 f'-DLIBROMFS_PROJECT_NAME=\\"{id}\\"',
336 f'-DRESOURCE_LOCATION=\\"{dir}\\"',
337 ],
338 deps=["dep+fmt_lib"],
339 )
340
341 simplerule(
342 name=name,
343 ins=glob(dir=dir),
344 outs=["=romfs.cc"],
345 deps=[f".+{id}_mkromfs"],
346 commands=[
347 f"$[deps[0]] $[outs[0]] {dir}",
348 ],
349 label="ROMFS",
350 )
351
352
353def plugin(name, id, srcs, hdrs, romfsdir, deps):

Callers 1

pluginFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected