2026-06-12 10:53:13 -04:00
|
|
|
project('fourdst', 'cpp', version: 'v0.10.5', default_options: ['cpp_std=c++23'], meson_version: '>=1.5.0')
|
2025-07-22 13:51:43 -04:00
|
|
|
|
|
|
|
|
add_project_arguments('-fvisibility=default', language: 'cpp')
|
|
|
|
|
|
2026-06-11 13:58:17 -04:00
|
|
|
if get_option('build_python')
|
|
|
|
|
py_installation = import('python').find_installation('python3', pure: false)
|
|
|
|
|
fourdst_wheel_libdir = 'fourdst/lib' # relative to the python platlib
|
|
|
|
|
fourdst_wheel_headerdir = 'fourdst/include'
|
|
|
|
|
else
|
|
|
|
|
fourdst_wheel_libdir = ''
|
|
|
|
|
fourdst_wheel_headerdir = ''
|
|
|
|
|
endif
|
2025-07-22 13:51:43 -04:00
|
|
|
# Configure vendor libraries
|
|
|
|
|
subdir('build-config')
|
|
|
|
|
|
|
|
|
|
# Configure python bindings
|
2025-12-03 11:27:01 -05:00
|
|
|
if get_option('build_python')
|
2025-11-28 11:00:51 -05:00
|
|
|
subdir('build-python')
|
|
|
|
|
endif
|
2025-08-09 18:48:34 -04:00
|
|
|
|