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.

Pull Request: https://projects.blender.org/blender/blender/pulls/116719
This commit is contained in:
Brecht Van Lommel
2024-01-03 14:49:11 +01:00
committed by Brecht Van Lommel
parent 38da27d31e
commit f63accd3b6
30 changed files with 272 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()