[CMake] CTest - Prefixing the launch of each executable

Michael Jackson mike.jackson at bluequartz.net
Fri Dec 4 10:18:31 EST 2009


So the issue is to test OS X Universal binary with at least 3  
different code paths: i386, x86_64 and PPC.

There is the "arch" command on the command line that can be used  
launch an executable using the indicated architecture. I am wondering  
how this might be used with CTest to test the different architectures  
present in a universal binary? Is there a CTEST_ variable that I can  
set? Or something similar? Shell script wrapper for CTest? Use a  
custom Command in Cmake?

   Any help or pointers is appreciated.
_________________________________________________________
Mike Jackson                  mike.jackson at bluequartz.net
BlueQuartz Software                    www.bluequartz.net
Principal Software Engineer                  Dayton, Ohio



More information about the CMake mailing list