CMakeLists.txt 830 B

1234567891011121314151617181920212223242526272829
  1. # SPDX-FileCopyrightText: 2018 yuzu Emulator Project
  2. # SPDX-License-Identifier: GPL-2.0-or-later
  3. add_executable(tests
  4. common/bit_field.cpp
  5. common/cityhash.cpp
  6. common/fibers.cpp
  7. common/host_memory.cpp
  8. common/param_package.cpp
  9. common/ring_buffer.cpp
  10. common/unique_function.cpp
  11. core/core_timing.cpp
  12. core/internal_network/network.cpp
  13. precompiled_headers.h
  14. tests.cpp
  15. video_core/buffer_base.cpp
  16. input_common/calibration_configuration_job.cpp
  17. )
  18. create_target_directory_groups(tests)
  19. target_link_libraries(tests PRIVATE common core input_common)
  20. target_link_libraries(tests PRIVATE ${PLATFORM_LIBRARIES} Catch2::Catch2 Threads::Threads)
  21. add_test(NAME tests COMMAND tests)
  22. if (YUZU_USE_PRECOMPILED_HEADERS)
  23. target_precompile_headers(tests PRIVATE precompiled_headers.h)
  24. endif()