diff options
Diffstat (limited to 'src/bindings/cxx')
-rw-r--r-- | src/bindings/cxx/ecore_cxx/meson.build | 4 | ||||
-rw-r--r-- | src/bindings/cxx/eet_cxx/meson.build | 6 | ||||
-rw-r--r-- | src/bindings/cxx/efl_cxx/meson.build | 2 | ||||
-rw-r--r-- | src/bindings/cxx/eina_cxx/meson.build | 54 | ||||
-rw-r--r-- | src/bindings/cxx/eldbus_cxx/meson.build | 14 | ||||
-rw-r--r-- | src/bindings/cxx/eo_cxx/meson.build | 11 | ||||
-rw-r--r-- | src/bindings/cxx/eolian_cxx/meson.build | 72 | ||||
-rw-r--r-- | src/bindings/cxx/meson.build | 101 |
8 files changed, 0 insertions, 264 deletions
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 @@ -cxx_header_src += files( - 'Ecore.hh', - 'Ecore_Manual.hh', -) 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 @@ -cxx_header_src += files( - 'eet_type.hh', - 'eet_register.hh', - 'eet_composite.hh', - 'Eet.hh' -) 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 @@ -cxx_header_src += join_paths(file_location, 'Efl.hh') -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 @@ -eina_cxx_deps = [eina, eo] -eina_cxx_pub_deps = [] - -eina_cxx_header_src = files( - 'eina_accessor.hh', - 'eina_aligned_union.hh', - 'eina_array.hh', - 'eina_clone_allocators.hh', - 'eina_deleter.hh', - 'eina_error.hh', - 'eina_future.hh', - 'eina_eo_concrete_fwd.hh', - 'eina_fold.hh', - 'eina_function.hh', - 'eina_inarray.hh', - 'eina_inlist.hh', - 'eina_integer_sequence.hh', - 'eina_iterator.hh', - 'eina_lists_auxiliary.hh', - 'eina_list.hh', - 'eina_log.hh', - 'eina_logical.hh', - 'eina_optional.hh', - 'eina_pp.hh', - 'eina_ptrarray.hh', - 'eina_ptrlist.hh', - 'eina_range_types.hh', - 'eina_ref.hh', - 'eina_stringshare.hh', - 'eina_strbuf.hh', - 'eina_string_view.hh', - 'eina_thread.hh', - 'eina_throw.hh', - 'eina_tuple.hh', - 'eina_tuple_c.hh', - 'eina_tuple_unwrap.hh', - 'eina_type_traits.hh', - 'eina_value.hh', - 'eina_workarounds.hh', - 'eina_copy_traits.hh', - 'eina_variant.hh', - 'Eina.hh' -) - -eina_cxx_lib = disabler() - -eina_cxx = declare_dependency( - include_directories: [include_directories('.')], - dependencies: eina_cxx_deps -) - -install_headers(eina_cxx_header_src, - subdir: dir_package_include -) 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 @@ -cxx_header_src += files( - 'eldbus_basic.hh', - 'eldbus_error.hh', - 'eldbus_freedesktop.hh', - 'Eldbus.hh', - 'eldbus_integer_sequence.hh', - 'eldbus_message_arguments.hh', - 'eldbus_message.hh', - 'Eldbus_Model.hh', - 'eldbus_proxy_call.hh', - 'eldbus_raw_tuple.hh', - 'eldbus_service.hh', - 'eldbus_signature_traits.hh', -) 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 @@ -cxx_header_src = files( - 'eo_concrete.hh', - 'eo_cxx_interop.hh', - 'eo_event.hh', - 'Eo.hh', - 'eo_init.hh', - 'eo_ops.hh', - 'eo_wref.hh', - 'eo_private.hh', - 'efl_object_impl.hh' -) 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 @@ - -name_eolian_cxx_header_src= [ - 'Eolian_Cxx.hh' -] - -name_grammer_eolian_cxx_header_src= [ - 'address_of.hpp', - 'alternative.hpp', - 'attribute_conditional.hpp', - 'attribute_reorder.hpp', - 'attribute_replace.hpp', - 'attributes.hpp', - 'blacklist.hpp', - 'base_class_definition.hpp', - 'case.hpp', - 'class_declaration.hpp', - 'class_definition.hpp', - 'class_implementation.hpp', - 'container.hpp', - 'context.hpp', - 'converting_argument.hpp', - 'c_type.hpp', - 'eps.hpp', - 'function_declaration.hpp', - 'function_definition.hpp', - 'generator.hpp', - 'header_guards.hpp', - 'header.hpp', - 'header_include_directive.hpp', - 'html_escaped_string.hpp', - 'implementation_include_directive.hpp', - 'impl_header.hpp', - 'indentation.hpp', - 'integral.hpp', - 'keyword.hpp', - 'klass_def.hpp', - 'kleene.hpp', - 'list.hpp', - 'meta.hpp', - 'namespace.hpp', - 'parameter.hpp', - 'part_declaration.hpp', - 'part_implementation.hpp', - 'qualifier_def.hpp', - 'sequence.hpp', - 'string.hpp', - 'type_function_declaration.hpp', - 'type.hpp', - 'type_impl.hpp', - 'types_definition.hpp', - 'type_traits.hpp' -] - -cxx_header_src = [] - -foreach header : name_eolian_cxx_header_src - cxx_header_src += files(join_paths('..', '..', '..', 'lib', 'eolian_cxx', header)) -endforeach - -foreach header : name_grammer_eolian_cxx_header_src - cxx_header_src += files(join_paths('..', '..', '..', 'lib', 'eolian_cxx', 'grammar', header)) -endforeach - -inc_dir = include_directories(join_paths('..', '..', '..', 'lib', 'eolian_cxx')) - -eolian_cxx_gen = executable('eolian_cxx', - join_paths('..', '..', '..', 'bin', 'eolian_cxx', 'eolian_cxx.cc'), - dependencies: [eina_cxx, eolian], - install: true, - include_directories : inc_dir, - cpp_args : package_c_args, - ) 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 @@ - -# ['eina', 'eolian', 'eo'] those three are build in the root meson.build reason for this is the super special handling -cxx_sublibs = [ - ['Eina', true, true, false, [eo]], - ['Eolian', true, true, false, []], - ['Eo', true, true, false, []], - ['Ecore', true, true, true, []], - ['Eet', true, true, false, []], - ['Efl', true, false, true, []], - ['Eio', false, false, true, []], - ['Evas', false, true, true, []], - ['Edje', false, false, true, []], - ['Eldbus', true, true, true, []], - ['Elementary', false, true, true, []] -] - -increased_dependency = [] - -foreach lib : cxx_sublibs - package_name = lib[0].to_lower() - package_version_name = '-'.join(package_name.split('_')) + '-cxx-' + version_major - package_c_args = [ - '-DPACKAGE_DATA_DIR="'+ join_paths(dir_data, package_name)+'"', - '-DNEED_RUN_IN_TREE=1' - ] - - dir_package_include = join_paths(dir_include, package_version_name) - dir_package_modules = join_paths(dir_lib, package_name, 'modules') - cxx_generator_target = [] - cxx_header_src = [] - file_location = join_paths('..', '..', 'lib', package_name) - eo_file_list = [] - eo_file_subdirs = get_variable(package_name + '_eo_subdirs', ['']) - - #generate files for each .eo files - foreach eo_file_subdir : eo_file_subdirs - if eo_file_subdir != '' - cxx_pub_eo_files = get_variable(package_name + '_' + eo_file_subdir +'_eo_files') - else - cxx_pub_eo_files = get_variable(package_name +'_eo_files') - endif - subdir_file_location = join_paths(file_location, eo_file_subdir) - foreach cxx_gen_file : cxx_pub_eo_files - cxx_generator_target += custom_target('eolian_cxx_gen_'+cxx_gen_file.underscorify()+'', - input : join_paths(subdir_file_location, cxx_gen_file), - output : [cxx_gen_file + '.hh', cxx_gen_file + '.impl.hh'], - install : true, - install_dir : join_paths(dir_package_include, eo_file_subdir), - command : [eolian_cxx_gen, '-I', meson.current_source_dir(), eolian_include_directories, - '-o', join_paths(meson.current_build_dir(), cxx_gen_file + '.hh'), - '@INPUT@']) - eo_file_list += files(join_paths(subdir_file_location, cxx_gen_file)) - endforeach - endforeach - - #generate the package.eo.hh file - if lib[3] - cxx_generator_target += custom_target('eolian_cxx_gen_'+package_name+'.eo.hh', - input : eo_file_list, - output : [lib[0] + '.eo.hh'], - install : true, - install_dir : join_paths(dir_package_include), - command : [eolian_cxx_gen, '-I', meson.current_source_dir(), eolian_include_directories, '-m', - '-o', '@OUTPUT@', - '@INPUT@']) - endif - - if lib[1] - inc_dir = include_directories(package_name+'_cxx', '.') - subdir(package_name+'_cxx') - else - inc_dir = include_directories(file_location, '.') - cxx_header_src += files(join_paths(file_location, lib[0]+'.hh')) - endif - - dep = declare_dependency( - include_directories: inc_dir, - sources : cxx_generator_target, - dependencies: [get_variable(package_name)] + get_variable(package_name + '_pub_deps') + lib[4] + increased_dependency - ) - - increased_dependency += dep - - set_variable(package_name + '_cxx', dep) - - install_headers(cxx_header_src, - subdir: dir_package_include - ) - if lib[2] - test_dirs += package_name + '_cxx' - endif - pkgconfig.generate( - name : '-'.join(package_name.split('_')) + '-cxx', - description : lib[0]+' cxx bindings', - subdirs : package_version_name, - version : version_major + '.' + version_minor, - libraries : dep, - #for now - just drag the whole elementary in - requires : 'elementary', - ) -endforeach |