efl
77 строк · 1.9 Кб
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
57cxx_header_src += files(join_paths('..', '..', '..', 'lib', 'eolian_cxx', header))
58endforeach
59
60foreach header : name_grammer_eolian_cxx_header_src
61cxx_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_bin = executable('eolian_cxx',
67join_paths('..', '..', '..', 'bin', 'eolian_cxx', 'eolian_cxx.cc'),
68dependencies: [eina_cxx, eolian],
69install: true,
70include_directories : inc_dir,
71cpp_args : package_c_args,
72)
73
74if meson.is_cross_build()
75eolian_cxx_gen = find_program('eolian_cxx', native: true)
76else
77eolian_cxx_gen = eolian_cxx_gen_bin
78endif
79