2021-01-19 20:26:36 +01:00
|
|
|
test_sources = files([
|
|
|
|
'test_main.cpp',
|
2021-01-21 01:54:20 +01:00
|
|
|
'test_splitter.cpp',
|
2021-01-19 20:26:36 +01:00
|
|
|
'test_converter.cpp',
|
|
|
|
'test_parser.cpp',
|
2023-08-03 21:28:41 +02:00
|
|
|
'test_parser2_segment1.cpp',
|
|
|
|
'test_parser2_segment2.cpp',
|
|
|
|
'test_parser2_segment3.cpp',
|
|
|
|
'test_parser2_segment4.cpp',
|
2021-01-19 20:26:36 +01:00
|
|
|
'test_extractions.cpp',
|
2022-03-30 19:54:50 +02:00
|
|
|
'test_extractions_without_fast_float.cpp',
|
2021-01-19 20:26:36 +01:00
|
|
|
])
|
|
|
|
|
2023-02-01 00:52:23 +01:00
|
|
|
doctest_dep = dependency('doctest')
|
2021-01-19 20:26:36 +01:00
|
|
|
|
2021-02-07 11:33:16 +01:00
|
|
|
test_exe = executable(
|
|
|
|
'test_ssp',
|
|
|
|
sources: test_sources,
|
|
|
|
dependencies: [doctest_dep, ssp_dep],
|
2021-01-19 20:26:36 +01:00
|
|
|
cpp_args: '-lstdc++fs'
|
|
|
|
)
|
|
|
|
|
2021-02-07 11:33:16 +01:00
|
|
|
test('test_ssp', test_exe)
|