diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2004-04-18 18:41:46 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2004-04-18 18:41:46 (GMT) |
commit | 55a71ba572c54dbb3485a76e9615c1c8bf688fd4 (patch) | |
tree | ac692b4ef198284cf7c0e9b65ab854f93e7f865a /Source/cmGlobalGenerator.cxx | |
parent | af61b685839fae6af72ba4c4d42ebf39a7d1a324 (diff) | |
download | CMake-55a71ba572c54dbb3485a76e9615c1c8bf688fd4.zip CMake-55a71ba572c54dbb3485a76e9615c1c8bf688fd4.tar.gz CMake-55a71ba572c54dbb3485a76e9615c1c8bf688fd4.tar.bz2 |
ENH: Add check for infinite loops. Make sure that files written using WRITE_FILE and FILE WRITE are not used as input files. Fixes Bug #678 - WRITE_FILE and FILE(WRITE...) lead to infinite loops
Diffstat (limited to 'Source/cmGlobalGenerator.cxx')
-rw-r--r-- | Source/cmGlobalGenerator.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx index b09ab9d..1315bb6 100644 --- a/Source/cmGlobalGenerator.cxx +++ b/Source/cmGlobalGenerator.cxx @@ -326,6 +326,7 @@ void cmGlobalGenerator::Configure() } m_CMakeInstance->UpdateProgress("Configuring", 0.9f+0.1f*(i+1.0f)/m_LocalGenerators.size()); + m_LocalGenerators[i]->GetMakefile()->CheckInfiniteLoops(); } } |