2023-02-01 00:57:32 +01:00
|
|
|
project(
|
|
|
|
'ssp',
|
|
|
|
['cpp'],
|
2021-01-19 20:26:36 +01:00
|
|
|
default_options :
|
2023-02-01 00:57:32 +01:00
|
|
|
['warning_level=3',
|
|
|
|
'cpp_std=c++17',
|
2023-02-01 01:22:43 +01:00
|
|
|
'buildtype=debugoptimized',
|
|
|
|
'wrap_mode=forcefallback'],
|
2024-03-02 00:34:19 +01:00
|
|
|
version: '1.7.2',
|
2023-02-01 00:52:23 +01:00
|
|
|
meson_version:'>=0.54.0')
|
2021-01-19 20:26:36 +01:00
|
|
|
|
2023-02-01 00:52:23 +01:00
|
|
|
fast_float_dep = dependency('fast_float')
|
2021-02-07 11:33:16 +01:00
|
|
|
|
|
|
|
ssp_dep = declare_dependency(
|
|
|
|
include_directories: include_directories('include'),
|
|
|
|
dependencies: fast_float_dep
|
|
|
|
)
|
|
|
|
|
2023-02-01 00:52:23 +01:00
|
|
|
meson.override_dependency('ssp', ssp_dep)
|
|
|
|
|
2021-02-07 13:02:35 +01:00
|
|
|
if not meson.is_subproject()
|
|
|
|
subdir('test')
|
|
|
|
endif
|
2023-02-01 00:52:23 +01:00
|
|
|
|