diff options
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r-- | Source/cmMakefile.cxx | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index 4cd9d0a..bc60955 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -2796,33 +2796,6 @@ int cmMakefile::ConfigureFile(const char* infile, const char* outfile, return res; } -void cmMakefile::AddWrittenFile(const char* file) -{ this->GetCMakeInstance()->AddWrittenFile(file); } - -bool cmMakefile::HasWrittenFile(const char* file) -{ return this->GetCMakeInstance()->HasWrittenFile(file); } - -bool cmMakefile::CheckInfiniteLoops() -{ - std::vector<std::string>::iterator it; - for ( it = this->ListFiles.begin(); - it != this->ListFiles.end(); - ++ it ) - { - if ( this->HasWrittenFile(it->c_str()) ) - { - cmOStringStream str; - str << "File " << it->c_str() << - " is written by WRITE_FILE (or FILE WRITE) command and should " - "not be used as input to CMake. Please use CONFIGURE_FILE to " - "be safe. Refer to the note next to FILE WRITE command."; - cmSystemTools::Error(str.str().c_str()); - return false; - } - } - return true; -} - void cmMakefile::SetProperty(const char* prop, const char* value) { if (!prop) |