cd317c20077ec5b5bd1c1ba9cc2e94e8bf8ab17c
[platform/upstream/harfbuzz.git] / subprojects / packagefiles / ragel / meson.build
1 project('ragel', 'c', 'cpp',
2   version : '6.10'
3 )
4
5 conf = configuration_data()
6 conf.set_quoted('PACKAGE', meson.project_name())
7 conf.set_quoted('VERSION', meson.project_version())
8 configure_file(
9   output : 'config.h',
10   configuration : conf
11 )
12
13 ragel_sources = files(
14   'ragel/buffer.h', 'ragel/cdcodegen.cpp', 'ragel/cdcodegen.h',
15   'ragel/cdfflat.cpp', 'ragel/cdfflat.h', 'ragel/cdfgoto.cpp',
16   'ragel/cdfgoto.h', 'ragel/cdflat.cpp', 'ragel/cdflat.h',
17   'ragel/cdftable.cpp', 'ragel/cdftable.h', 'ragel/cdgoto.cpp',
18   'ragel/cdgoto.h', 'ragel/cdipgoto.cpp', 'ragel/cdipgoto.h',
19   'ragel/cdsplit.cpp', 'ragel/cdsplit.h', 'ragel/cdtable.cpp',
20   'ragel/cdtable.h', 'ragel/common.cpp', 'ragel/common.h',
21   'ragel/cscodegen.cpp', 'ragel/cscodegen.h', 'ragel/csfflat.cpp',
22   'ragel/csfflat.h', 'ragel/csfgoto.cpp', 'ragel/csfgoto.h',
23   'ragel/csflat.cpp', 'ragel/csflat.h', 'ragel/csftable.cpp',
24   'ragel/csftable.h', 'ragel/csgoto.cpp', 'ragel/csgoto.h',
25   'ragel/csipgoto.cpp', 'ragel/csipgoto.h', 'ragel/cssplit.cpp',
26   'ragel/cssplit.h', 'ragel/cstable.cpp', 'ragel/cstable.h',
27   'ragel/dotcodegen.cpp', 'ragel/dotcodegen.h', 'ragel/fsmap.cpp',
28   'ragel/fsmattach.cpp', 'ragel/fsmbase.cpp', 'ragel/fsmgraph.cpp',
29   'ragel/fsmgraph.h', 'ragel/fsmmin.cpp', 'ragel/fsmstate.cpp',
30   'ragel/gendata.cpp', 'ragel/gendata.h', 'ragel/gocodegen.cpp',
31   'ragel/gocodegen.h', 'ragel/gofflat.cpp', 'ragel/gofflat.h',
32   'ragel/gofgoto.cpp', 'ragel/gofgoto.h', 'ragel/goflat.cpp', 'ragel/goflat.h',
33   'ragel/goftable.cpp', 'ragel/goftable.h', 'ragel/gogoto.cpp',
34   'ragel/gogoto.h', 'ragel/goipgoto.cpp', 'ragel/goipgoto.h',
35   'ragel/gotable.cpp', 'ragel/gotable.h', 'ragel/gotablish.cpp',
36   'ragel/gotablish.h', 'ragel/inputdata.cpp', 'ragel/inputdata.h',
37   'ragel/javacodegen.cpp', 'ragel/javacodegen.h', 'ragel/main.cpp',
38   'ragel/mlcodegen.cpp', 'ragel/mlcodegen.h', 'ragel/mlfflat.cpp',
39   'ragel/mlfflat.h', 'ragel/mlfgoto.cpp', 'ragel/mlfgoto.h',
40   'ragel/mlflat.cpp', 'ragel/mlflat.h', 'ragel/mlftable.cpp',
41   'ragel/mlftable.h', 'ragel/mlgoto.cpp', 'ragel/mlgoto.h',
42   'ragel/mltable.cpp', 'ragel/mltable.h', 'ragel/parsedata.cpp',
43   'ragel/parsedata.h', 'ragel/parsetree.cpp', 'ragel/parsetree.h',
44   'ragel/pcheck.h', 'ragel/ragel.h', 'ragel/rbxgoto.cpp', 'ragel/rbxgoto.h',
45   'ragel/redfsm.cpp', 'ragel/redfsm.h', 'ragel/rlparse.cpp', 'ragel/rlparse.h',
46   'ragel/rlscan.cpp', 'ragel/rlscan.h', 'ragel/rubycodegen.cpp',
47   'ragel/rubycodegen.h', 'ragel/rubyfflat.cpp', 'ragel/rubyfflat.h',
48   'ragel/rubyflat.cpp', 'ragel/rubyflat.h', 'ragel/rubyftable.cpp',
49   'ragel/rubyftable.h', 'ragel/rubytable.cpp', 'ragel/rubytable.h',
50   'ragel/version.h', 'ragel/xmlcodegen.cpp', 'ragel/xmlcodegen.h',
51 )
52
53 ragel = executable(
54   meson.project_name(),
55   ragel_sources,
56   include_directories : ['aapl', 'ragel'],
57   install : true,
58 )