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 still preserving the files - it's rather
unexpected behavior to have it do what it does now.  Is there a reason
not to have one directory per test in a "try_compile" subdirectory?

Cheers,
CY
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to