2022-07-27 20:06:50 +02:00
|
|
|
# SPDX-FileCopyrightText: 2018 yuzu Emulator Project
|
|
|
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
|
|
2020-12-28 15:15:37 +00:00
|
|
|
add_executable(tests
|
|
|
|
|
common/bit_field.cpp
|
2021-02-18 11:56:11 +01:00
|
|
|
common/cityhash.cpp
|
2020-12-28 15:15:37 +00:00
|
|
|
common/fibers.cpp
|
2021-06-07 03:57:28 +02:00
|
|
|
common/host_memory.cpp
|
2020-12-28 15:15:37 +00:00
|
|
|
common/param_package.cpp
|
|
|
|
|
common/ring_buffer.cpp
|
2021-07-05 23:19:14 +02:00
|
|
|
common/unique_function.cpp
|
2020-12-28 15:15:37 +00:00
|
|
|
core/core_timing.cpp
|
2022-07-26 03:25:01 +02:00
|
|
|
core/internal_network/network.cpp
|
2020-12-28 15:15:37 +00:00
|
|
|
tests.cpp
|
2021-01-15 01:27:20 +01:00
|
|
|
video_core/buffer_base.cpp
|
2021-12-18 09:46:54 +01:00
|
|
|
input_common/calibration_configuration_job.cpp
|
2020-12-28 15:15:37 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
create_target_directory_groups(tests)
|
|
|
|
|
|
2021-12-18 09:46:54 +01:00
|
|
|
target_link_libraries(tests PRIVATE common core input_common)
|
2022-01-12 07:07:47 +01:00
|
|
|
target_link_libraries(tests PRIVATE ${PLATFORM_LIBRARIES} Catch2::Catch2 Threads::Threads)
|
2020-12-28 15:15:37 +00:00
|
|
|
|
|
|
|
|
add_test(NAME tests COMMAND tests)
|