Re: [CMake] CTest - Prefixing the launch of each executable

2009-12-04 Thread Michael Jackson
OK, Really the last follow up. I guess I didn't clean the build directory good enough last time. I now only get 2 tests based on using CMAKE_OSX_ARCHITECTURES=i386;x86_64. Sorry for the noise. -- Mike Jackson On Dec 4, 2009, at 11:10 AM, Michael Jackson wrote: Just to follow up a bit on

Re: [CMake] CTest - Prefixing the launch of each executable

2009-12-04 Thread Michael Jackson
Just to follow up a bit on this, here is what I am doing: # -- macro(MXA_ADD_TEST testname Exename) if (NOT APPLE) ADD_TEST(${testname} ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/$ {Exename}) else() forea

[CMake] CTest - Prefixing the launch of each executable

2009-12-04 Thread Michael Jackson
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 diff