2020-04-01 16:10:49 +02:00
|
|
|
test_time_sources = [
|
2020-04-01 16:16:11 +02:00
|
|
|
'TestConvert.cxx',
|
2020-04-01 16:10:49 +02:00
|
|
|
'TestISO8601.cxx',
|
|
|
|
]
|
|
|
|
|
2021-08-10 14:30:21 +02:00
|
|
|
if is_windows
|
|
|
|
test_time_sources += 'TestFileTime.cxx'
|
|
|
|
endif
|
|
|
|
|
2020-04-01 16:10:49 +02:00
|
|
|
test(
|
|
|
|
'TestTime',
|
|
|
|
executable(
|
|
|
|
'TestTime',
|
|
|
|
test_time_sources,
|
|
|
|
include_directories: inc,
|
|
|
|
dependencies: [
|
|
|
|
time_dep,
|
|
|
|
gtest_dep,
|
|
|
|
],
|
|
|
|
),
|
2021-11-26 08:45:50 +01:00
|
|
|
protocol: 'gtest',
|
2020-04-01 16:10:49 +02:00
|
|
|
)
|