feat(stroid): added command line and tests
This commit is contained in:
26
meson.build
26
meson.build
@@ -1,5 +1,27 @@
|
||||
project('stroid', 'cpp', meson_version : '>= 1.3.0', version : 'v0.1.0a0.1', default_options : ['cpp_std=c++23'])
|
||||
project('stroid', 'cpp', meson_version : '>= 1.3.0', version : 'v0.1.0', default_options : ['cpp_std=c++23'])
|
||||
|
||||
subdir('build-config')
|
||||
subdir('src')
|
||||
subdir('tests')
|
||||
|
||||
if get_option('build_tests')
|
||||
subdir('tests')
|
||||
endif
|
||||
|
||||
if get_option('build_tools')
|
||||
subdir('tools')
|
||||
endif
|
||||
|
||||
if get_option('pkg_config')
|
||||
pkg = import('pkgconfig')
|
||||
pkg.generate(
|
||||
name: 'stroid',
|
||||
description: 'Stroid multi-block curvilinear mesh generation library',
|
||||
version: meson.project_version(),
|
||||
libraries: [
|
||||
stroid_lib
|
||||
],
|
||||
subdirs: ['stroid'],
|
||||
filebase: 'stroid',
|
||||
install_dir: join_paths(get_option('libdir'), 'pkgconfig')
|
||||
)
|
||||
endif
|
||||
Reference in New Issue
Block a user