Split meson file for wren/detail directory

This commit is contained in:
King_DuckZ 2022-05-17 00:42:11 +02:00
parent a17e49dd27
commit b2c694c954
2 changed files with 17 additions and 13 deletions

View file

@ -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

View file

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