2018-01-18 00:37:34 +00:00
|
|
|
add_executable(tests
|
2019-01-25 17:16:23 +00:00
|
|
|
common/bit_field.cpp
|
2019-03-16 03:18:11 +00:00
|
|
|
common/bit_utils.cpp
|
2020-02-05 18:13:16 +00:00
|
|
|
common/fibers.cpp
|
2018-01-18 00:37:34 +00:00
|
|
|
common/param_package.cpp
|
2018-09-08 14:28:39 +01:00
|
|
|
common/ring_buffer.cpp
|
2018-01-18 00:37:34 +00:00
|
|
|
core/core_timing.cpp
|
|
|
|
tests.cpp
|
2020-12-30 21:42:27 +00:00
|
|
|
video_core/buffer_base.cpp
|
2018-01-18 00:37:34 +00:00
|
|
|
)
|
2016-03-20 14:58:24 +00:00
|
|
|
|
2018-01-18 00:37:34 +00:00
|
|
|
create_target_directory_groups(tests)
|
2016-03-20 14:58:24 +00:00
|
|
|
|
2017-05-28 02:26:55 +01:00
|
|
|
target_link_libraries(tests PRIVATE common core)
|
2017-05-28 06:46:59 +01:00
|
|
|
target_link_libraries(tests PRIVATE ${PLATFORM_LIBRARIES} catch-single-include Threads::Threads)
|
2016-05-19 18:54:50 +01:00
|
|
|
|
2017-05-28 06:46:59 +01:00
|
|
|
add_test(NAME tests COMMAND tests)
|