On 2019-11-06 11:00 a.m., Andrew Fuller wrote:
Does
https://cmake.org/cmake/help/latest/prop_tgt/CROSSCOMPILING_EMULATOR.html#prop_tgt:CROSSCOMPILING_EMULATOR do
what you're looking for?
So it looks like this variable indeed allows me to define a test wrapper
script that handles the uploadi
On 2019-11-06 11:00 a.m., Andrew Fuller wrote:
Does
https://cmake.org/cmake/help/latest/prop_tgt/CROSSCOMPILING_EMULATOR.html#prop_tgt:CROSSCOMPILING_EMULATOR do
what you're looking for?
Yes, that's *exactly* what I was looking for; thanks ! (I'm actually
using `gtest_add_tests()`, but assu
Does
https://cmake.org/cmake/help/latest/prop_tgt/CROSSCOMPILING_EMULATOR.html#prop_tgt:CROSSCOMPILING_EMULATOR
do what you're looking for?
From: CMake on behalf of Stefan Seefeld
Sent: November 5, 2019 6:06 PM
To: CMake
Subject: [CMake] cross-testing support
Easy enough. ADD_TEST can run whatever you want.
I created a simple cmake function
Function(RUN_REMOTE_TEST testname, other_args)
# insert useful code here…
add_test(${testname}
remote_run_test ${binary_dir}/${testname} other test runner script args…
)
End_function()
You will have