Blender Git Commit Log

Git Commits -> Revision bb96db2

November 15, 2019, 14:14 (GMT)
CMake/GTest: allow defining CLI arguments for GTEST tests

For USD tests I need to load a blend file from a GTest test, and in order to do that properly it needs to get the location of the lib/tests directory. The easiest way to do this is to pass it on the CLI.

To make it possible to extend the `BLENDER_SRC_GTEST_EX()` without adding yet more macros, it now accepts keyword arguments.

Differential Revision: https://developer.blender.org/D6236

Commit Details:

Full Hash: bb96db21244a16aadb446cfbfec11c9c5055cedd
Parent Commit: f8354d4
Lines Changed: +28, -9

1 Modified Path:

/build_files/cmake/Modules/GTestTesting.cmake (+28, -9) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021