[CMake] cross-testing support in cmake

stefan stefan at seefeld.name
Mon Nov 11 16:19:03 EST 2019


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 uploading and remote execution.

There is, however, a minor complication: Most of my test executables 
require some data files that I need to upload, too.

How can I inform my wrapper script about those ?

Is there some trick involving target properties and generator 
expressions that I could use such that the invocation of the wrapper 
script will receive some target-specific arguments ?


Thanks,



Stefan

--

       ...ich hab' noch einen Koffer in Berlin...
     

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cmake.org/pipermail/cmake/attachments/20191111/eb953f20/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.png
Type: image/png
Size: 1478 bytes
Desc: not available
URL: <https://cmake.org/pipermail/cmake/attachments/20191111/eb953f20/attachment.png>


More information about the CMake mailing list