Split meson file for wren/detail directory
This commit is contained in:
parent
a17e49dd27
commit
b2c694c954
2 changed files with 17 additions and 13 deletions
15
include/wrenpp/detail/meson.build
Normal file
15
include/wrenpp/detail/meson.build
Normal 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
|
|
@ -8,19 +8,8 @@ include_files = [
|
||||||
'vm.hpp',
|
'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()
|
if not meson.is_subproject()
|
||||||
install_headers(include_files)
|
install_headers(include_files)
|
||||||
install_headers(include_files_detail, subdir: 'detail')
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
subdir('detail')
|
||||||
|
|
Loading…
Reference in a new issue