mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 22:16:16 +02:00
8 lines
240 B
Meson
8 lines
240 B
Meson
|
bash = find_program('bash', native: true)
|
||
|
|
||
|
gen_header = generator(
|
||
|
bash,
|
||
|
arguments : [ '-c', '{ echo \'R"__NIX_STR(\' && cat @INPUT@ && echo \')__NIX_STR"\'; } > "$1"', '_ignored_argv0', '@OUTPUT@' ],
|
||
|
output : '@PLAINNAME@.gen.hh',
|
||
|
)
|