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')