Cleanup: move CMake test utility functions into testing.cmake

Combining functions from macros.cmake and Modules/GTestTesting.cmake.
It was unusual to have Blender specific code in the Modules folder.
This commit is contained in:
Brecht Van Lommel
2024-01-02 15:29:15 +01:00
parent e016c1d6c3
commit 4190a61020
30 changed files with 269 additions and 301 deletions

View File

@@ -41,6 +41,5 @@ if(WITH_GTESTS)
set(TEST_LIB
PRIVATE bf_intern_atomic
)
include(GTestTesting)
blender_add_test_executable(atomic "${TEST_SRC}" "${INC};${TEST_INC}" "${INC_SYS}" "${LIB};${TEST_LIB}")
endif()