Re: [CMake] cross-testing support in cmake

2019-11-06 Thread stefan
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

Re: [CMake] cross-testing support in cmake

2019-11-06 Thread Andrew Fuller
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

Re: [CMake] cross-testing support in cmake

2019-11-06 Thread Miller Henry
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