2022-02-28 12:44:18 +03:00
|
|
|
gtest_proj = subproject('gtest')
|
|
|
|
gtest_dep = gtest_proj.get_variable('gtest_main_dep')
|
|
|
|
|
|
|
|
test(
|
|
|
|
'split_str',
|
|
|
|
executable(
|
|
|
|
'split_str',
|
2022-03-02 11:08:14 +03:00
|
|
|
'string.cpp',
|
2022-02-28 12:44:18 +03:00
|
|
|
dependencies: [ string_dep, gtest_dep ]
|
|
|
|
)
|
|
|
|
)
|
2022-03-02 11:08:14 +03:00
|
|
|
|
|
|
|
test(
|
|
|
|
'within',
|
|
|
|
executable(
|
|
|
|
'within',
|
|
|
|
'range.cpp',
|
2022-03-27 22:23:36 +03:00
|
|
|
dependencies: [ hack_dep, gtest_dep ]
|
2022-03-02 11:08:14 +03:00
|
|
|
)
|
|
|
|
)
|
2022-03-02 12:11:21 +03:00
|
|
|
|
|
|
|
test(
|
|
|
|
'container',
|
|
|
|
executable(
|
|
|
|
'container',
|
|
|
|
'container.cpp',
|
2022-03-27 22:23:36 +03:00
|
|
|
dependencies: [ hack_dep, gtest_dep ]
|
2022-03-02 12:11:21 +03:00
|
|
|
)
|
|
|
|
)
|