aboutsummaryrefslogtreecommitdiff
path: root/meson.build
blob: a4b0c6efed202f0d3fcecb9159bfe9ecfad9baa3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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' ])