The source project of this merge request has been removed.
GoogleTest: Clarify cross-compile requirements
add_test
and gtest_discover_tests
executes in script mode during the build step and does not have access to CONFIGURE variables. If CMAKE_CROSSCOMPILING is set, the TARGET_EXECUTOR is prefixed with the CMAKE_CROSSCOMPILING_EMULATOR value.
If the host system cannot execute the cross compiled binary, the build will fail. This will make that more clear in the documentation.
Edited by Hugo Lindström