From b2c694c954f6bc7b9af1e8c3e8480ada9a3a885f Mon Sep 17 00:00:00 2001 From: King_DuckZ Date: Tue, 17 May 2022 00:42:11 +0200 Subject: [PATCH] Split meson file for wren/detail directory --- include/wrenpp/detail/meson.build | 15 +++++++++++++++ include/wrenpp/meson.build | 15 ++------------- 2 files changed, 17 insertions(+), 13 deletions(-) create mode 100644 include/wrenpp/detail/meson.build diff --git a/include/wrenpp/detail/meson.build b/include/wrenpp/detail/meson.build new file mode 100644 index 0000000..37c2629 --- /dev/null +++ b/include/wrenpp/detail/meson.build @@ -0,0 +1,15 @@ +include_files = [ + 'construct_foreign_class.hpp', + 'error_type.hpp', + 'guess_class_name.hpp', + 'has_method.hpp', + 'setters_getters.hpp', + 'string_bt.hpp', + 'StringCRC32.hpp', + 'strings_in_vector.hpp', + 'wren_types.hpp', +] + +if not meson.is_subproject() + install_headers(include_files) +endif diff --git a/include/wrenpp/meson.build b/include/wrenpp/meson.build index d31a8bc..d7bafc6 100644 --- a/include/wrenpp/meson.build +++ b/include/wrenpp/meson.build @@ -8,19 +8,8 @@ include_files = [ 'vm.hpp', ] -include_files_detail = [ - 'detail/construct_foreign_class.hpp', - 'detail/error_type.hpp', - 'detail/guess_class_name.hpp', - 'detail/has_method.hpp', - 'detail/setters_getters.hpp', - 'detail/string_bt.hpp', - 'detail/StringCRC32.hpp', - 'detail/strings_in_vector.hpp', - 'detail/wren_types.hpp', -] - if not meson.is_subproject() install_headers(include_files) - install_headers(include_files_detail, subdir: 'detail') endif + +subdir('detail')