[CMake] CTest in a cross-compiling environment
    Alexander Neundorf 
    a.neundorf-work at gmx.net
       
    Fri Feb 18 11:15:50 EST 2011
    
    
  
On Friday 18 February 2011, James Amundson wrote:
> Hi,
>
> Are there any CMake solutions for running tests in a cross-compiling
> environment? Right now I have a lovely test suite that runs over sixty
> different executables using the standard CMake and CTest setup. It works
> exactly as I want under Linux, but now I need to run it on a
> cross-compiling platform (in fact, two cross-compiling platforms: BG/P
> and Cray XT5). I don't have cmake compiled for the target platform, so I
> can't just run "ctest." Surely there must be other people with this
> problem, but this mornings Google searches aren't turning up anything
> for me.
When cmake is crosscompiling, it assumes that the executables it has built 
cannot be run on the build host.
CMake does not provide any special mechanisms to run the executables remote or 
in a VM or something.
Alex
    
    
More information about the CMake
mailing list