Re: [CMake] CMake --debug-trycompile option breaking tests

2011-09-01 Thread Bill Hoffman
On 9/1/2011 12:27 AM, Clifford Yapp wrote: On Wed, Aug 31, 2011 at 2:14 PM, Bill Hoffman wrote: It would make a mess if you created a sub-dir per test. There would be lots and lots of sub-dirs in some projects. Personally I would expect that, and be OK with it, as long as the directory name

Re: [CMake] CMake --debug-trycompile option breaking tests

2011-08-31 Thread Clifford Yapp
On Wed, Aug 31, 2011 at 2:14 PM, Bill Hoffman wrote: > > It would make a mess if you created a sub-dir per test.  There would be lots > and lots of sub-dirs in some projects. Personally I would expect that, and be OK with it, as long as the directory names corresponded to the test in question - i

Re: [CMake] CMake --debug-trycompile option breaking tests

2011-08-31 Thread Bill Hoffman
On 8/30/2011 4:13 PM, Clifford Yapp wrote: Hmm. What about changing that option to make one sub-directory per test instead of doing each one in the same temp directory? Or if try_compile doesn't support that, moving the generated files to a subdirectory after the try_compile proper has run? Th

Re: [CMake] CMake --debug-trycompile option breaking tests

2011-08-30 Thread Clifford Yapp
Hmm. What about changing that option to make one sub-directory per test instead of doing each one in the same temp directory? Or if try_compile doesn't support that, moving the generated files to a subdirectory after the try_compile proper has run? That would allow "normal" cmake building while

Re: [CMake] CMake --debug-trycompile option breaking tests

2011-08-30 Thread Bill Hoffman
On 8/30/2011 3:09 PM, Clifford Yapp wrote: We're seeing a problem when trying to run a cmake configuration using both the TestBigEndian.cmake macro and the --debug-trycompile command line option for CMake: Sometimes we're getting CMake Error at TestBigEndian.cmake:44 (MESSAGE): no suitable t

[CMake] CMake --debug-trycompile option breaking tests

2011-08-30 Thread Clifford Yapp
We're seeing a problem when trying to run a cmake configuration using both the TestBigEndian.cmake macro and the --debug-trycompile command line option for CMake: Sometimes we're getting CMake Error at TestBigEndian.cmake:44 (MESSAGE): no suitable type found Oddly, if I copy the CheckTypeSize