summaryrefslogtreecommitdiffstats
path: root/Source/cmVisualStudio10TargetGenerator.cxx
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2010-08-17 19:40:45 (GMT)
committerAlex Neundorf <neundorf@kde.org>2010-08-17 19:40:45 (GMT)
commite6c9bc267b6037e66447561b546e3ba25369140a (patch)
treed07f4ad036eb4fed3cf6ad42e91d536cdd8c8828 /Source/cmVisualStudio10TargetGenerator.cxx
parentab90916638b8f000d9e55624f9ef891c9fc0e6da (diff)
downloadCMake-e6c9bc267b6037e66447561b546e3ba25369140a.zip
CMake-e6c9bc267b6037e66447561b546e3ba25369140a.tar.gz
CMake-e6c9bc267b6037e66447561b546e3ba25369140a.tar.bz2
Add timeout to execute_process() in CMAKE_DETERMINE_COMPILER_ID().
In CMAKE_DETERMINE_COMPILER_ID_VENDOR() the compiler is called with various arguments. In some cases, this can make the compiler hang and wait forever for input (e.g. "as -v"). That's why add an timeout so it terminates finally. 10 seconds should be more than enough, this is the time it takes to startup the compiler, which is usually quite fast. Alex
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.cxx')
0 files changed, 0 insertions, 0 deletions