summaryrefslogtreecommitdiff
path: root/src/bindings/cxx/eolian_cxx
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2018-10-19 16:18:39 +0200
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2018-10-24 12:05:58 +0200
commite85311c99286988f98ce081148f6f9e298086c2d (patch)
tree9479f9b7c887904044b08fd2fb217f8b41971837 /src/bindings/cxx/eolian_cxx
parente19d2391476965d7b8e8865a766734947cc3099f (diff)
meson: here comes cxx bindings
this commits is bringing cxx bindings. You can enable / disable them with the cxx option. Differential Revision: https://phab.enlightenment.org/D7181
Diffstat (limited to 'src/bindings/cxx/eolian_cxx')
-rw-r--r--src/bindings/cxx/eolian_cxx/meson.build72
1 files changed, 72 insertions, 0 deletions
diff --git a/src/bindings/cxx/eolian_cxx/meson.build b/src/bindings/cxx/eolian_cxx/meson.build
new file mode 100644
index 0000000000..219ffa334b
--- /dev/null
+++ b/src/bindings/cxx/eolian_cxx/meson.build
@@ -0,0 +1,72 @@
1
2name_eolian_cxx_header_src= [
3 'Eolian_Cxx.hh'
4]
5
6name_grammer_eolian_cxx_header_src= [
7 'address_of.hpp',
8 'alternative.hpp',
9 'attribute_conditional.hpp',
10 'attribute_reorder.hpp',
11 'attribute_replace.hpp',
12 'attributes.hpp',
13 'blacklist.hpp',
14 'base_class_definition.hpp',
15 'case.hpp',
16 'class_declaration.hpp',
17 'class_definition.hpp',
18 'class_implementation.hpp',
19 'container.hpp',
20 'context.hpp',
21 'converting_argument.hpp',
22 'c_type.hpp',
23 'eps.hpp',
24 'function_declaration.hpp',
25 'function_definition.hpp',
26 'generator.hpp',
27 'header_guards.hpp',
28 'header.hpp',
29 'header_include_directive.hpp',
30 'html_escaped_string.hpp',
31 'implementation_include_directive.hpp',
32 'impl_header.hpp',
33 'indentation.hpp',
34 'integral.hpp',
35 'keyword.hpp',
36 'klass_def.hpp',
37 'kleene.hpp',
38 'list.hpp',
39 'meta.hpp',
40 'namespace.hpp',
41 'parameter.hpp',
42 'part_declaration.hpp',
43 'part_implementation.hpp',
44 'qualifier_def.hpp',
45 'sequence.hpp',
46 'string.hpp',
47 'type_function_declaration.hpp',
48 'type.hpp',
49 'type_impl.hpp',
50 'types_definition.hpp',
51 'type_traits.hpp'
52]
53
54cxx_header_src = []
55
56foreach header : name_eolian_cxx_header_src
57 cxx_header_src += files(join_paths('..', '..', '..', 'lib', 'eolian_cxx', header))
58endforeach
59
60foreach header : name_grammer_eolian_cxx_header_src
61 cxx_header_src += files(join_paths('..', '..', '..', 'lib', 'eolian_cxx', 'grammar', header))
62endforeach
63
64inc_dir = include_directories(join_paths('..', '..', '..', 'lib', 'eolian_cxx'))
65
66eolian_cxx_gen = executable('eolian_cxx',
67 join_paths('..', '..', '..', 'bin', 'eolian_cxx', 'eolian_cxx.cc'),
68 dependencies: [eina_cxx, eolian],
69 install: true,
70 include_directories : inc_dir,
71 cpp_args : package_c_args,
72 )