2021-01-19 20:26:36 +01:00
|
|
|
test_sources = files([
|
|
|
|
'test_main.cpp',
|
2021-02-20 15:53:18 +01:00
|
|
|
#'test_splitter.cpp',
|
|
|
|
#'test_converter.cpp',
|
2021-01-19 20:26:36 +01:00
|
|
|
'test_parser.cpp',
|
2021-02-20 15:53:18 +01:00
|
|
|
#'test_extractions.cpp',
|
2021-01-19 20:26:36 +01:00
|
|
|
])
|
|
|
|
|
|
|
|
doctest_proj = subproject('doctest')
|
|
|
|
doctest_dep = doctest_proj.get_variable('doctest_dep')
|
|
|
|
|
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)
|