project('rcc', [], version: '0.1.0', license: 'BSD-2-Clause', ) prog_python = import('python').find_installation('python3') rcc = generator(prog_python, output: '@BASENAME@.h', arguments: [ meson.current_source_dir()/'rcc', '--output=@OUTPUT@', '@EXTRA_ARGS@', '@INPUT@' ] ) # example usage: #rcc.process(files('res/a.svg'), extra_args: [ '--namespace=svg', 'dump' ])