vectorwrapper/meson.build

33 lines
907 B
Meson

project('vectorwrapper', 'cpp',
version: '1.1.0',
meson_version: '>=0.50.0',
default_options:['cpp_std=c++11', 'b_ndebug=if-release']
)
public_includes = include_directories('include')
subdir('include/vectorwrapper')
vectorwrapper_dep = declare_dependency(
include_directories: [public_includes],
)
install_headers(
'include/vectorwrapper/has_method.hpp',
'include/vectorwrapper/implem_vec_base.hpp',
'include/vectorwrapper/implem_vec_base.inl',
'include/vectorwrapper/implem_vec_common.hpp',
'include/vectorwrapper/sequence_bt.hpp',
'include/vectorwrapper/sequence_range.hpp',
'include/vectorwrapper/size_type.hpp',
'include/vectorwrapper/vector_cast.hpp',
'include/vectorwrapper/vectorops.hpp',
'include/vectorwrapper/vector_ostream.hpp',
'include/vectorwrapper/vectorwrapper.inl',
project_config_file,
subdir: 'vectorwrapper',
)
if get_option('build_testing')
subdir('test')
endif