chore: Update test engine linkage and include integration::TestEditor in yaze_test

This commit is contained in:
scawful
2024-08-13 20:47:06 -04:00
parent e2168cc939
commit beb8dd50b8
2 changed files with 13 additions and 15 deletions

11
cmake/gtest.cmake Normal file
View File

@@ -0,0 +1,11 @@
# GoogleTest ------------------------------------------------------------------
include(FetchContent)
FetchContent_Declare(
googletest
URL https://github.com/google/googletest/archive/03597a01ee50ed33e9dfd640b249b4be3799d395.zip
)
# For Windows: Prevent overriding the parent project's compiler/linker settings
set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
FetchContent_MakeAvailable(googletest)
enable_testing()