project( | |
'libbej', | |
'c', | |
'cpp', | |
version: '0.1', | |
meson_version: '>=0.57.0', | |
default_options: [ | |
'c_std=c18', | |
'cpp_std=c++20', | |
'werror=true', | |
'warning_level=3', | |
'tests=' + (meson.is_subproject() ? 'disabled' : 'auto'), | |
]) | |
libbej_incs = include_directories('include', 'include/libbej') | |
subdir('src') | |
subdir('include/libbej') | |
if not get_option('tests').disabled() | |
subdir('test') | |
endif | |