[cmake-developers] Should try_run have a timeout value? [demo CMakeLists.txt in body of email]

2014-06-12 Thread David Cole
# # CMakeLists.txt # # PROBLEM: # # This file demonstrates a problem with CMake 3.0 and Visual Studio # compiler x64 builds... If configured for a build with the x64 # compiler, CMake will hang until user intervention with a # cmTryCompileExec123...789.exe has stopped working # crash dialog. # #

Re: [cmake-developers] Should try_run have a timeout value? [demo CMakeLists.txt in body of email]

2014-06-12 Thread David Cole
Would you also be satisfied if the crash dialog was disabled in the try_run()? That is done for ctest by cmCTest::BlockTestErrorDiagnostics(). Sure, as long as the try_run doesn't hang, and indicates failed run in the run result. I'm easy. D -- Powered by www.kitware.com Please keep