Key points:\n- restore the tests tree removed by bc47e6e\n- capture current editor workspace, scene, and docs reshuffle changes\n- keep local cloud.nvdb resources ignored from this commit
24 lines
501 B
CMake
24 lines
501 B
CMake
find_package(GTest REQUIRED)
|
|
|
|
add_executable(debug_tests
|
|
test_logger.cpp
|
|
test_profiler.cpp
|
|
test_renderdoc_capture.cpp
|
|
)
|
|
|
|
target_link_libraries(debug_tests
|
|
PRIVATE
|
|
XCEngine
|
|
GTest::gtest
|
|
GTest::gtest_main
|
|
)
|
|
|
|
add_custom_command(TARGET debug_tests POST_BUILD
|
|
COMMAND ${CMAKE_COMMAND} -E copy_if_different
|
|
${CMAKE_SOURCE_DIR}/engine/third_party/renderdoc/renderdoc.dll
|
|
$<TARGET_FILE_DIR:debug_tests>/
|
|
)
|
|
|
|
include(GoogleTest)
|
|
gtest_discover_tests(debug_tests)
|