diff options
author | Marcel Hollerbach <mail@marcel-hollerbach.de> | 2018-10-18 16:11:22 +0200 |
---|---|---|
committer | Marcel Hollerbach <mail@marcel-hollerbach.de> | 2018-10-18 16:12:13 +0200 |
commit | 52e0b8440b552562a1bde01ee960069e6353a62a (patch) | |
tree | fa7a07e989c823c065e250940cab65b2b1253095 /src | |
parent | 2643ce0aadbf7b77cdb021404a7c93b0e0c43bca (diff) |
Revert "meson: add cxx bindings"
This reverts commit 5aaf2cbb5defd64a2048fe90e80004d435bbca1a.
The cxx bindings were accidently merged. Things are missing (like .eot.h
files)
Diffstat (limited to '')
24 files changed, 6 insertions, 543 deletions
diff --git a/src/bin/eolian_cxx/meson.build b/src/bin/eolian_cxx/meson.build deleted file mode 100644 index 540a067cdc..0000000000 --- a/src/bin/eolian_cxx/meson.build +++ /dev/null | |||
@@ -1,6 +0,0 @@ | |||
1 | eolian_cxx_gen = executable('eolian_cxx', | ||
2 | 'eolian_cxx.cc', | ||
3 | dependencies: [eolian_cxx, eina_cxx, eolian], | ||
4 | install: true, | ||
5 | cpp_args : package_c_args, | ||
6 | ) | ||
diff --git a/src/bindings/cxx/ecore_cxx/meson.build b/src/bindings/cxx/ecore_cxx/meson.build deleted file mode 100644 index 06e648d57b..0000000000 --- a/src/bindings/cxx/ecore_cxx/meson.build +++ /dev/null | |||
@@ -1,4 +0,0 @@ | |||
1 | cxx_header_src += files( | ||
2 | 'Ecore.hh', | ||
3 | 'Ecore_Manual.hh', | ||
4 | ) | ||
diff --git a/src/bindings/cxx/eet_cxx/meson.build b/src/bindings/cxx/eet_cxx/meson.build deleted file mode 100644 index ddc9724ff5..0000000000 --- a/src/bindings/cxx/eet_cxx/meson.build +++ /dev/null | |||
@@ -1,6 +0,0 @@ | |||
1 | cxx_header_src += files( | ||
2 | 'eet_type.hh', | ||
3 | 'eet_register.hh', | ||
4 | 'eet_composite.hh', | ||
5 | 'Eet.hh' | ||
6 | ) | ||
diff --git a/src/bindings/cxx/efl_cxx/meson.build b/src/bindings/cxx/efl_cxx/meson.build deleted file mode 100644 index 6ad93df23c..0000000000 --- a/src/bindings/cxx/efl_cxx/meson.build +++ /dev/null | |||
@@ -1,2 +0,0 @@ | |||
1 | cxx_header_src += join_paths(file_location, 'Efl.hh') | ||
2 | cxx_header_src += join_paths(file_location, 'cxx', 'efl_part_impl.hh') | ||
diff --git a/src/bindings/cxx/eina_cxx/meson.build b/src/bindings/cxx/eina_cxx/meson.build deleted file mode 100644 index fbe6f55ede..0000000000 --- a/src/bindings/cxx/eina_cxx/meson.build +++ /dev/null | |||
@@ -1,54 +0,0 @@ | |||
1 | eina_cxx_deps = [eina, eo] | ||
2 | eina_cxx_pub_deps = [] | ||
3 | |||
4 | eina_cxx_header_src = files( | ||
5 | 'eina_accessor.hh', | ||
6 | 'eina_aligned_union.hh', | ||
7 | 'eina_array.hh', | ||
8 | 'eina_clone_allocators.hh', | ||
9 | 'eina_deleter.hh', | ||
10 | 'eina_error.hh', | ||
11 | 'eina_future.hh', | ||
12 | 'eina_eo_concrete_fwd.hh', | ||
13 | 'eina_fold.hh', | ||
14 | 'eina_function.hh', | ||
15 | 'eina_inarray.hh', | ||
16 | 'eina_inlist.hh', | ||
17 | 'eina_integer_sequence.hh', | ||
18 | 'eina_iterator.hh', | ||
19 | 'eina_lists_auxiliary.hh', | ||
20 | 'eina_list.hh', | ||
21 | 'eina_log.hh', | ||
22 | 'eina_logical.hh', | ||
23 | 'eina_optional.hh', | ||
24 | 'eina_pp.hh', | ||
25 | 'eina_ptrarray.hh', | ||
26 | 'eina_ptrlist.hh', | ||
27 | 'eina_range_types.hh', | ||
28 | 'eina_ref.hh', | ||
29 | 'eina_stringshare.hh', | ||
30 | 'eina_strbuf.hh', | ||
31 | 'eina_string_view.hh', | ||
32 | 'eina_thread.hh', | ||
33 | 'eina_throw.hh', | ||
34 | 'eina_tuple.hh', | ||
35 | 'eina_tuple_c.hh', | ||
36 | 'eina_tuple_unwrap.hh', | ||
37 | 'eina_type_traits.hh', | ||
38 | 'eina_value.hh', | ||
39 | 'eina_workarounds.hh', | ||
40 | 'eina_copy_traits.hh', | ||
41 | 'eina_variant.hh', | ||
42 | 'Eina.hh' | ||
43 | ) | ||
44 | |||
45 | eina_cxx_lib = disabler() | ||
46 | |||
47 | eina_cxx = declare_dependency( | ||
48 | include_directories: [include_directories('.')], | ||
49 | dependencies: eina_cxx_deps | ||
50 | ) | ||
51 | |||
52 | install_headers(eina_cxx_header_src, | ||
53 | subdir: dir_package_include | ||
54 | ) | ||
diff --git a/src/bindings/cxx/eldbus_cxx/meson.build b/src/bindings/cxx/eldbus_cxx/meson.build deleted file mode 100644 index dbd038d11b..0000000000 --- a/src/bindings/cxx/eldbus_cxx/meson.build +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | cxx_header_src += files( | ||
2 | 'eldbus_basic.hh', | ||
3 | 'eldbus_error.hh', | ||
4 | 'eldbus_freedesktop.hh', | ||
5 | 'Eldbus.hh', | ||
6 | 'eldbus_integer_sequence.hh', | ||
7 | 'eldbus_message_arguments.hh', | ||
8 | 'eldbus_message.hh', | ||
9 | 'Eldbus_Model.hh', | ||
10 | 'eldbus_proxy_call.hh', | ||
11 | 'eldbus_raw_tuple.hh', | ||
12 | 'eldbus_service.hh', | ||
13 | 'eldbus_signature_traits.hh', | ||
14 | ) | ||
diff --git a/src/bindings/cxx/eo_cxx/meson.build b/src/bindings/cxx/eo_cxx/meson.build deleted file mode 100644 index 3b1bc25ec6..0000000000 --- a/src/bindings/cxx/eo_cxx/meson.build +++ /dev/null | |||
@@ -1,11 +0,0 @@ | |||
1 | cxx_header_src = files( | ||
2 | 'eo_concrete.hh', | ||
3 | 'eo_cxx_interop.hh', | ||
4 | 'eo_event.hh', | ||
5 | 'Eo.hh', | ||
6 | 'eo_init.hh', | ||
7 | 'eo_ops.hh', | ||
8 | 'eo_wref.hh', | ||
9 | 'eo_private.hh', | ||
10 | 'efl_object_impl.hh' | ||
11 | ) | ||
diff --git a/src/bindings/cxx/eolian_cxx/meson.build b/src/bindings/cxx/eolian_cxx/meson.build deleted file mode 100644 index 219ffa334b..0000000000 --- a/src/bindings/cxx/eolian_cxx/meson.build +++ /dev/null | |||
@@ -1,72 +0,0 @@ | |||
1 | |||
2 | name_eolian_cxx_header_src= [ | ||
3 | 'Eolian_Cxx.hh' | ||
4 | ] | ||
5 | |||
6 | name_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 | |||
54 | cxx_header_src = [] | ||
55 | |||
56 | foreach header : name_eolian_cxx_header_src | ||
57 | cxx_header_src += files(join_paths('..', '..', '..', 'lib', 'eolian_cxx', header)) | ||
58 | endforeach | ||
59 | |||
60 | foreach header : name_grammer_eolian_cxx_header_src | ||
61 | cxx_header_src += files(join_paths('..', '..', '..', 'lib', 'eolian_cxx', 'grammar', header)) | ||
62 | endforeach | ||
63 | |||
64 | inc_dir = include_directories(join_paths('..', '..', '..', 'lib', 'eolian_cxx')) | ||
65 | |||
66 | eolian_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 | ) | ||
diff --git a/src/bindings/cxx/meson.build b/src/bindings/cxx/meson.build deleted file mode 100644 index 7a7000084c..0000000000 --- a/src/bindings/cxx/meson.build +++ /dev/null | |||
@@ -1,101 +0,0 @@ | |||
1 | |||
2 | # ['eina', 'eolian', 'eo'] those three are build in the root meson.build reason for this is the super special handling | ||
3 | cxx_sublibs = [ | ||
4 | ['Eina', true, true, false, [eo]], | ||
5 | ['Eolian', true, true, false, []], | ||
6 | ['Eo', true, true, false, []], | ||
7 | ['Ecore', true, true, true, []], | ||
8 | ['Eet', true, true, false, []], | ||
9 | ['Efl', true, false, true, []], | ||
10 | ['Eio', false, false, true, []], | ||
11 | ['Evas', false, true, true, []], | ||
12 | ['Edje', false, false, true, []], | ||
13 | ['Eldbus', true, true, true, []], | ||
14 | ['Elementary', false, true, true, []] | ||
15 | ] | ||
16 | |||
17 | increased_dependency = [] | ||
18 | |||
19 | foreach lib : cxx_sublibs | ||
20 | package_name = lib[0].to_lower() | ||
21 | package_version_name = '-'.join(package_name.split('_')) + '-cxx-' + version_major | ||
22 | package_c_args = [ | ||
23 | '-DPACKAGE_DATA_DIR="'+ join_paths(dir_data, package_name)+'"', | ||
24 | '-DNEED_RUN_IN_TREE=1' | ||
25 | ] | ||
26 | |||
27 | dir_package_include = join_paths(dir_include, package_version_name) | ||
28 | dir_package_modules = join_paths(dir_lib, package_name, 'modules') | ||
29 | cxx_generator_target = [] | ||
30 | cxx_header_src = [] | ||
31 | file_location = join_paths('..', '..', 'lib', package_name) | ||
32 | eo_file_list = [] | ||
33 | eo_file_subdirs = get_variable(package_name + '_eo_subdirs', ['']) | ||
34 | |||
35 | #generate files for each .eo files | ||
36 | foreach eo_file_subdir : eo_file_subdirs | ||
37 | if eo_file_subdir != '' | ||
38 | cxx_pub_eo_files = get_variable(package_name + '_' + eo_file_subdir +'_eo_files') | ||
39 | else | ||
40 | cxx_pub_eo_files = get_variable(package_name +'_eo_files') | ||
41 | endif | ||
42 | subdir_file_location = join_paths(file_location, eo_file_subdir) | ||
43 | foreach cxx_gen_file : cxx_pub_eo_files | ||
44 | cxx_generator_target += custom_target('eolian_cxx_gen_'+cxx_gen_file.underscorify()+'', | ||
45 | input : join_paths(subdir_file_location, cxx_gen_file), | ||
46 | output : [cxx_gen_file + '.hh', cxx_gen_file + '.impl.hh'], | ||
47 | install : true, | ||
48 | install_dir : join_paths(dir_package_include, eo_file_subdir), | ||
49 | command : [eolian_cxx_gen, '-I', meson.current_source_dir(), eolian_include_directories, | ||
50 | '-o', join_paths(meson.current_build_dir(), cxx_gen_file + '.hh'), | ||
51 | '@INPUT@']) | ||
52 | eo_file_list += files(join_paths(subdir_file_location, cxx_gen_file)) | ||
53 | endforeach | ||
54 | endforeach | ||
55 | |||
56 | #generate the package.eo.hh file | ||
57 | if lib[3] | ||
58 | cxx_generator_target += custom_target('eolian_cxx_gen_'+package_name+'.eo.hh', | ||
59 | input : eo_file_list, | ||
60 | output : [lib[0] + '.eo.hh'], | ||
61 | install : true, | ||
62 | install_dir : join_paths(dir_package_include), | ||
63 | command : [eolian_cxx_gen, '-I', meson.current_source_dir(), eolian_include_directories, '-m', | ||
64 | '-o', '@OUTPUT@', | ||
65 | '@INPUT@']) | ||
66 | endif | ||
67 | |||
68 | if lib[1] | ||
69 | inc_dir = include_directories(package_name+'_cxx', '.') | ||
70 | subdir(package_name+'_cxx') | ||
71 | else | ||
72 | inc_dir = include_directories(file_location, '.') | ||
73 | cxx_header_src += files(join_paths(file_location, lib[0]+'.hh')) | ||
74 | endif | ||
75 | |||
76 | dep = declare_dependency( | ||
77 | include_directories: inc_dir, | ||
78 | sources : cxx_generator_target, | ||
79 | dependencies: [get_variable(package_name)] + get_variable(package_name + '_pub_deps') + lib[4] + increased_dependency | ||
80 | ) | ||
81 | |||
82 | increased_dependency += dep | ||
83 | |||
84 | set_variable(package_name + '_cxx', dep) | ||
85 | |||
86 | install_headers(cxx_header_src, | ||
87 | subdir: dir_package_include | ||
88 | ) | ||
89 | if lib[2] | ||
90 | test_dirs += package_name + '_cxx' | ||
91 | endif | ||
92 | pkgconfig.generate( | ||
93 | name : '-'.join(package_name.split('_')) + '-cxx', | ||
94 | description : lib[0]+' cxx bindings', | ||
95 | subdirs : package_version_name, | ||
96 | version : version_major + '.' + version_minor, | ||
97 | libraries : dep, | ||
98 | #for now - just drag the whole elementary in | ||
99 | requires : 'elementary', | ||
100 | ) | ||
101 | endforeach | ||
diff --git a/src/lib/efl/interfaces/meson.build b/src/lib/efl/interfaces/meson.build index 078e43f8c6..8d29c404a8 100644 --- a/src/lib/efl/interfaces/meson.build +++ b/src/lib/efl/interfaces/meson.build | |||
@@ -107,8 +107,6 @@ foreach eo_file : pub_eo_files | |||
107 | '-gch', '@INPUT@']) | 107 | '-gch', '@INPUT@']) |
108 | endforeach | 108 | endforeach |
109 | 109 | ||
110 | pub_eo_files += pub_legacy_eo_files | ||
111 | |||
112 | pub_eo_types_files = [ | 110 | pub_eo_types_files = [ |
113 | 'efl_gfx_types.eot', | 111 | 'efl_gfx_types.eot', |
114 | 'efl_ui_types.eot', | 112 | 'efl_ui_types.eot', |
@@ -128,13 +126,7 @@ foreach eo_file : pub_eo_types_files | |||
128 | '-gh', '@INPUT@']) | 126 | '-gh', '@INPUT@']) |
129 | endforeach | 127 | endforeach |
130 | 128 | ||
131 | install_data(pub_eo_files + pub_legacy_eo_files + pub_eo_types_files, | 129 | pub_eo_files = files(pub_eo_files + pub_legacy_eo_files + pub_eo_types_files) |
132 | install_dir: join_paths(eolian_include_dir, package_version_name) | ||
133 | ) | ||
134 | |||
135 | efl_interfaces_eo_files = pub_eo_files | ||
136 | |||
137 | pub_eo_files = [] | ||
138 | 130 | ||
139 | efl_src += files([ | 131 | efl_src += files([ |
140 | 'efl_interfaces_main.c', | 132 | 'efl_interfaces_main.c', |
diff --git a/src/lib/efl/meson.build b/src/lib/efl/meson.build index 6677cf2327..75acef3b54 100644 --- a/src/lib/efl/meson.build +++ b/src/lib/efl/meson.build | |||
@@ -24,8 +24,10 @@ efl = declare_dependency( | |||
24 | sources : pub_eo_file_target | 24 | sources : pub_eo_file_target |
25 | ) | 25 | ) |
26 | 26 | ||
27 | install_data(pub_eo_files, | ||
28 | install_dir: join_paths(eolian_include_dir, package_version_name) | ||
29 | ) | ||
30 | |||
27 | install_headers(efl_header_src, | 31 | install_headers(efl_header_src, |
28 | install_dir : dir_package_include, | 32 | install_dir : dir_package_include, |
29 | ) | 33 | ) |
30 | |||
31 | efl_eo_subdirs = ['interfaces'] | ||
diff --git a/src/lib/evas/canvas/meson.build b/src/lib/evas/canvas/meson.build index e6298f70cd..47db33de4b 100644 --- a/src/lib/evas/canvas/meson.build +++ b/src/lib/evas/canvas/meson.build | |||
@@ -77,8 +77,6 @@ pub_eo_files = [ | |||
77 | 'efl_canvas_text.eo' | 77 | 'efl_canvas_text.eo' |
78 | ] | 78 | ] |
79 | 79 | ||
80 | evas_canvas_eo_files = pub_eo_files | ||
81 | |||
82 | pub_evas_eo_files += files(pub_eo_files) | 80 | pub_evas_eo_files += files(pub_eo_files) |
83 | 81 | ||
84 | foreach eo_file : pub_eo_files | 82 | foreach eo_file : pub_eo_files |
diff --git a/src/lib/evas/gesture/meson.build b/src/lib/evas/gesture/meson.build index cd755f51c3..62d9b27599 100644 --- a/src/lib/evas/gesture/meson.build +++ b/src/lib/evas/gesture/meson.build | |||
@@ -7,8 +7,6 @@ pub_eo_files = [ | |||
7 | 'efl_canvas_gesture_manager.eo' | 7 | 'efl_canvas_gesture_manager.eo' |
8 | ] | 8 | ] |
9 | 9 | ||
10 | evas_gesture_eo_files = pub_eo_files | ||
11 | |||
12 | foreach eo_file : pub_eo_files | 10 | foreach eo_file : pub_eo_files |
13 | pub_eo_file_target += custom_target('eolian_gen_' + eo_file, | 11 | pub_eo_file_target += custom_target('eolian_gen_' + eo_file, |
14 | input : eo_file, | 12 | input : eo_file, |
diff --git a/src/lib/evas/meson.build b/src/lib/evas/meson.build index 8175c87565..d72032d957 100644 --- a/src/lib/evas/meson.build +++ b/src/lib/evas/meson.build | |||
@@ -173,5 +173,3 @@ install_headers(evas_header_src, | |||
173 | ) | 173 | ) |
174 | 174 | ||
175 | automatic_pkgfile = false | 175 | automatic_pkgfile = false |
176 | pub_eo_files = [] | ||
177 | evas_eo_subdirs = ['canvas', 'gesture'] | ||
diff --git a/src/lib/evas_goal/meson.build b/src/lib/evas_goal/meson.build index 28db42f00b..057006884c 100644 --- a/src/lib/evas_goal/meson.build +++ b/src/lib/evas_goal/meson.build | |||
@@ -7,11 +7,9 @@ evas_lib = library('evas', | |||
7 | version : meson.project_version() | 7 | version : meson.project_version() |
8 | ) | 8 | ) |
9 | 9 | ||
10 | evas_pub_deps = [eina, ecore, ector, emile, evas_pre] | ||
11 | |||
12 | evas = declare_dependency( | 10 | evas = declare_dependency( |
13 | link_with : [evas_lib], | 11 | link_with : [evas_lib], |
14 | dependencies : evas_pub_deps, | 12 | dependencies : [eina, ecore, ector, emile, evas_pre], |
15 | include_directories : evas_include_directories | 13 | include_directories : evas_include_directories |
16 | ) | 14 | ) |
17 | 15 | ||
diff --git a/src/tests/ecore_cxx/meson.build b/src/tests/ecore_cxx/meson.build deleted file mode 100644 index 75547f1258..0000000000 --- a/src/tests/ecore_cxx/meson.build +++ /dev/null | |||
@@ -1,29 +0,0 @@ | |||
1 | ecore_cxx_suite_deps = [check, ecore_cxx] | ||
2 | |||
3 | ecore_cxx_suite_src = [ | ||
4 | 'ecore_cxx_suite.cc', | ||
5 | 'ecore_cxx_suite.h', | ||
6 | 'ecore_cxx_test_safe_call.cc', | ||
7 | ] | ||
8 | |||
9 | |||
10 | ecore_cxx_suite = executable('ecore_cxx_suite', | ||
11 | ecore_cxx_suite_src, | ||
12 | dependencies: [ecore_cxx_suite_deps, check], | ||
13 | cpp_args : [ | ||
14 | '-DTESTS_BUILD_DIR="'+meson.current_build_dir()+'"', | ||
15 | '-DTESTS_SRC_DIR="'+meson.current_source_dir()+'"'] | ||
16 | ) | ||
17 | |||
18 | executable('ecore_cxx_suite_compile_test', | ||
19 | 'cxx_compile_test.cc', | ||
20 | dependencies: [ecore_cxx_suite_deps, check], | ||
21 | cpp_args : [ | ||
22 | '-DTESTS_BUILD_DIR="'+meson.current_build_dir()+'"', | ||
23 | '-DTESTS_SRC_DIR="'+meson.current_source_dir()+'"'] | ||
24 | ) | ||
25 | |||
26 | test('ecore_cxx-suite', ecore_cxx_suite, | ||
27 | timeout : 10*60, | ||
28 | env : test_env | ||
29 | ) | ||
diff --git a/src/tests/edje_cxx/meson.build b/src/tests/edje_cxx/meson.build deleted file mode 100644 index 0d706a294f..0000000000 --- a/src/tests/edje_cxx/meson.build +++ /dev/null | |||
@@ -1,9 +0,0 @@ | |||
1 | edje_cxx_suite_deps = [check, edje_cxx] | ||
2 | |||
3 | executable('edje_cxx_suite_compile_test', | ||
4 | 'cxx_compile_test.cc', | ||
5 | dependencies: [edje_cxx_suite_deps, check], | ||
6 | cpp_args : [ | ||
7 | '-DTESTS_BUILD_DIR="'+meson.current_build_dir()+'"', | ||
8 | '-DTESTS_SRC_DIR="'+meson.current_source_dir()+'"'] | ||
9 | ) | ||
diff --git a/src/tests/eet_cxx/meson.build b/src/tests/eet_cxx/meson.build deleted file mode 100644 index f3f3fb8046..0000000000 --- a/src/tests/eet_cxx/meson.build +++ /dev/null | |||
@@ -1,21 +0,0 @@ | |||
1 | eet_cxx_suite_deps = [check, eet_cxx] | ||
2 | |||
3 | eet_cxx_suite_src = [ | ||
4 | 'eet_cxx_suite.cc', | ||
5 | 'eet_cxx_suite.h', | ||
6 | 'eet_cxx_test_descriptors.cc', | ||
7 | ] | ||
8 | |||
9 | eet_cxx_suite = executable('eet_cxx_suite', | ||
10 | eet_cxx_suite_src, | ||
11 | dependencies: [eet_cxx_suite_deps, check], | ||
12 | cpp_args : [ | ||
13 | '-DTESTS_BUILD_DIR="'+meson.current_build_dir()+'"', | ||
14 | '-DTESTS_SRC_DIR="'+meson.current_source_dir()+'"'] | ||
15 | ) | ||
16 | |||
17 | |||
18 | test('ecore_cxx-suite', eet_cxx_suite, | ||
19 | timeout : 10*60, | ||
20 | env : test_env | ||
21 | ) | ||
diff --git a/src/tests/eina_cxx/meson.build b/src/tests/eina_cxx/meson.build deleted file mode 100644 index c5f0f23bb4..0000000000 --- a/src/tests/eina_cxx/meson.build +++ /dev/null | |||
@@ -1,57 +0,0 @@ | |||
1 | eina_cxx_suite_deps = [check] | ||
2 | |||
3 | eina_cxx_suite_src = [ | ||
4 | 'eina_cxx_suite.cc', | ||
5 | 'eina_cxx_test_inlist.cc', | ||
6 | 'eina_cxx_test_log.cc', | ||
7 | 'eina_cxx_test_inarray.cc', | ||
8 | 'eina_cxx_test_iterator.cc', | ||
9 | 'eina_cxx_test_ptrarray.cc', | ||
10 | 'eina_cxx_test_ptrlist.cc', | ||
11 | 'eina_cxx_test_stringshare.cc', | ||
12 | 'eina_cxx_test_error.cc', | ||
13 | 'eina_cxx_test_accessor.cc', | ||
14 | 'eina_cxx_test_thread.cc', | ||
15 | 'eina_cxx_test_optional.cc', | ||
16 | 'eina_cxx_test_value.cc', | ||
17 | 'simple.c', | ||
18 | 'eina_cxx_suite.h' | ||
19 | ] | ||
20 | |||
21 | |||
22 | pub_eo_files = [ | ||
23 | 'simple.eo' | ||
24 | ] | ||
25 | |||
26 | foreach eo_file : pub_eo_files | ||
27 | priv_eo_file_target += custom_target('eolian_gen_eina_cxx_' + eo_file, | ||
28 | input : eo_file, | ||
29 | output : [eo_file + '.h'], | ||
30 | command : [eolian_gen, '-I', meson.current_source_dir(), eolian_include_directories, | ||
31 | '-o', 'h:' + join_paths(meson.current_build_dir(), eo_file + '.h'), | ||
32 | '-o', 'c:' + join_paths(meson.current_build_dir(), eo_file + '.c'), | ||
33 | '-gch', '@INPUT@']) | ||
34 | priv_eo_file_target += custom_target('eolian_cxx_gen_eina_cxx_' + eo_file, | ||
35 | input : eo_file, | ||
36 | output : [eo_file + '.hh'], | ||
37 | install : true, | ||
38 | install_dir : dir_package_include, | ||
39 | command : [eolian_cxx_gen, '-I', meson.current_source_dir(), eolian_include_directories, | ||
40 | '-o', join_paths(meson.current_build_dir(), eo_file + '.hh'), | ||
41 | '@INPUT@']) | ||
42 | endforeach | ||
43 | |||
44 | eina_cxx_suite = executable('eina_cxx_suite', | ||
45 | eina_cxx_suite_src + priv_eo_file_target, | ||
46 | include_directories : config_dir, | ||
47 | dependencies: [eina_cxx_suite_deps, check, eina, eina_cxx, eo_cxx, ecore], | ||
48 | cpp_args : [ | ||
49 | '-DTESTS_BUILD_DIR="'+meson.current_build_dir()+'"', | ||
50 | '-DTESTS_SRC_DIR="'+meson.current_source_dir()+'"' | ||
51 | ] | ||
52 | ) | ||
53 | |||
54 | test('eina_cxx-suite', eina_cxx_suite, | ||
55 | timeout : 10*60, | ||
56 | env : test_env | ||
57 | ) | ||
diff --git a/src/tests/eldbus_cxx/meson.build b/src/tests/eldbus_cxx/meson.build deleted file mode 100644 index e3e04e5290..0000000000 --- a/src/tests/eldbus_cxx/meson.build +++ /dev/null | |||
@@ -1,21 +0,0 @@ | |||
1 | eldbus_cxx_suite_deps = [check, eldbus_cxx] | ||
2 | |||
3 | eldbus_cxx_suite_src = [ | ||
4 | 'eldbus_cxx_suite.cc', | ||
5 | 'eldbus_cxx_suite.h', | ||
6 | 'eldbus_cxx_test_eldbus_client.cc', | ||
7 | 'eldbus_cxx_test_eldbus_connect.cc', | ||
8 | ] | ||
9 | |||
10 | eldbus_cxx_suite = executable('eldbus_cxx_suite', | ||
11 | eldbus_cxx_suite_src, | ||
12 | dependencies: [eldbus_cxx_suite_deps, check], | ||
13 | cpp_args : [ | ||
14 | '-DTESTS_BUILD_DIR="'+meson.current_build_dir()+'"', | ||
15 | '-DTESTS_SRC_DIR="'+meson.current_source_dir()+'"'] | ||
16 | ) | ||
17 | |||
18 | test('eldbus_cxx-suite', eldbus_cxx_suite, | ||
19 | timeout : 10*60, | ||
20 | env : test_env | ||
21 | ) | ||
diff --git a/src/tests/elementary_cxx/meson.build b/src/tests/elementary_cxx/meson.build deleted file mode 100644 index 1ced02bdca..0000000000 --- a/src/tests/elementary_cxx/meson.build +++ /dev/null | |||
@@ -1,9 +0,0 @@ | |||
1 | elementary_cxx_suite_deps = [check, elementary_cxx] | ||
2 | |||
3 | executable('elementary_cxx_suite_compile_test', | ||
4 | ['cxx_compile_test.cc', 'cxx_dummy_compile_test.cc'], | ||
5 | dependencies: [elementary_cxx_suite_deps, check], | ||
6 | cpp_args : [ | ||
7 | '-DTESTS_BUILD_DIR="'+meson.current_build_dir()+'"', | ||
8 | '-DTESTS_SRC_DIR="'+meson.current_source_dir()+'"'] | ||
9 | ) | ||
diff --git a/src/tests/eo_cxx/meson.build b/src/tests/eo_cxx/meson.build deleted file mode 100644 index 43e487da57..0000000000 --- a/src/tests/eo_cxx/meson.build +++ /dev/null | |||
@@ -1,20 +0,0 @@ | |||
1 | eo_cxx_suite_deps = [check, eina_cxx, eo_cxx] | ||
2 | |||
3 | eo_cxx_suite_src = [ | ||
4 | 'eo_cxx_suite.cc', | ||
5 | 'eo_cxx_suite.h' | ||
6 | ] | ||
7 | |||
8 | eo_cxx_suite = executable('eo_cxx_suite', | ||
9 | eo_cxx_suite_src, | ||
10 | include_directories : config_dir, | ||
11 | dependencies: [eo_cxx_suite_deps, check], | ||
12 | cpp_args : [ | ||
13 | '-DTESTS_BUILD_DIR="'+meson.current_build_dir()+'"', | ||
14 | '-DTESTS_SRC_DIR="'+meson.current_source_dir()+'"'] | ||
15 | ) | ||
16 | |||
17 | test('eo_cxx-suite', eo_cxx_suite, | ||
18 | timeout : 10*60, | ||
19 | env : test_env | ||
20 | ) | ||
diff --git a/src/tests/eolian_cxx/meson.build b/src/tests/eolian_cxx/meson.build deleted file mode 100644 index f4daf82a85..0000000000 --- a/src/tests/eolian_cxx/meson.build +++ /dev/null | |||
@@ -1,78 +0,0 @@ | |||
1 | eolian_cxx_suite_deps = [check, eolian_cxx, eina_cxx, eo_cxx, ecore] | ||
2 | |||
3 | eolian_cxx_suite_src = files([ | ||
4 | 'eolian_cxx_suite.cc', | ||
5 | 'eolian_cxx_test_parse.cc', | ||
6 | 'a.c', | ||
7 | 'b.c', | ||
8 | 'c.c', | ||
9 | 'd.c', | ||
10 | 'eolian_cxx_test_binding.cc', | ||
11 | 'eolian_cxx_test_address_of.cc', | ||
12 | 'eolian_cxx_test_wrapper.cc', | ||
13 | 'simple.c', | ||
14 | 'name_name.c', | ||
15 | 'name_name_cxx.cc', | ||
16 | 'generic.c', | ||
17 | 'name1_name2_type_generation.c', | ||
18 | 'eolian_cxx_test_inheritance.cc', | ||
19 | 'eolian_cxx_test_generate.cc', | ||
20 | 'eolian_cxx_test_documentation.cc', | ||
21 | 'eolian_cxx_test_cyclic.cc', | ||
22 | 'complex.c', | ||
23 | 'complex_cxx.cc', | ||
24 | 'eolian_cxx_suite.h' | ||
25 | ]) | ||
26 | |||
27 | pub_eo_files = [ | ||
28 | 'a.eo', | ||
29 | 'b.eo', | ||
30 | 'c.eo', | ||
31 | 'd.eo', | ||
32 | 'complex.eo', | ||
33 | 'cyclic1.eo', | ||
34 | 'cyclic2.eo', | ||
35 | 'docs.eo', | ||
36 | 'generic.eo', | ||
37 | 'name1_name2_type_generation.eo', | ||
38 | 'name_name.eo', | ||
39 | 'ns_name.eo', | ||
40 | 'ns_name_other.eo', | ||
41 | 'simple.eo' | ||
42 | ] | ||
43 | |||
44 | pub_eo_file_target = [] | ||
45 | |||
46 | foreach eo_file : pub_eo_files | ||
47 | pub_eo_file_target += custom_target('eolian_cxx_gen_' + eo_file, | ||
48 | input : eo_file, | ||
49 | output : [eo_file + '.hh'], | ||
50 | install : true, | ||
51 | install_dir : dir_package_include, | ||
52 | command : [eolian_cxx_gen, '-I', meson.current_source_dir(), eolian_include_directories, | ||
53 | '-o', join_paths(meson.current_build_dir(), eo_file + '.hh'), | ||
54 | '@INPUT@']) | ||
55 | pub_eo_file_target += custom_target('eolian_gen_' + eo_file, | ||
56 | input : eo_file, | ||
57 | output : [eo_file + '.h'], | ||
58 | install : true, | ||
59 | install_dir : dir_package_include, | ||
60 | command : [eolian_gen, '-I', meson.current_source_dir(), eolian_include_directories, | ||
61 | '-o', 'h:' + join_paths(meson.current_build_dir(), eo_file + '.h'), | ||
62 | '-o', 'c:' + join_paths(meson.current_build_dir(), eo_file + '.c'), | ||
63 | '-gch', '@INPUT@']) | ||
64 | endforeach | ||
65 | |||
66 | eolian_cxx_suite = executable('eolian_cxx_suite', | ||
67 | eolian_cxx_suite_src + pub_eo_file_target, | ||
68 | dependencies: [eolian_cxx_suite_deps, eo_cxx, check], | ||
69 | # package_c_args contains -D definitions for the package | ||
70 | cpp_args : package_c_args +[ | ||
71 | '-DTESTS_BUILD_DIR="'+meson.current_build_dir()+'"', | ||
72 | '-DTESTS_SRC_DIR="'+meson.current_source_dir()+'"'] | ||
73 | ) | ||
74 | |||
75 | test('eolian_cxx-suite', eolian_cxx_suite, | ||
76 | timeout : 10*60, | ||
77 | env : test_env | ||
78 | ) | ||
diff --git a/src/tests/evas_cxx/meson.build b/src/tests/evas_cxx/meson.build deleted file mode 100644 index d84c1e2c12..0000000000 --- a/src/tests/evas_cxx/meson.build +++ /dev/null | |||
@@ -1,9 +0,0 @@ | |||
1 | evas_cxx_suite_deps = [check, evas_cxx] | ||
2 | |||
3 | executable('evas_cxx_suite_compile_test', | ||
4 | 'cxx_compile_test.cc', | ||
5 | dependencies: [evas_cxx_suite_deps, check], | ||
6 | cpp_args : [ | ||
7 | '-DTESTS_BUILD_DIR="'+meson.current_build_dir()+'"', | ||
8 | '-DTESTS_SRC_DIR="'+meson.current_source_dir()+'"'] | ||
9 | ) | ||