| 1000 | } |
| 1001 | |
| 1002 | void cmMakefile::DoGenerate(cmLocalGenerator& lg) |
| 1003 | { |
| 1004 | // give all the commands a chance to do something |
| 1005 | // after the file has been parsed before generation |
| 1006 | for (auto& action : this->GeneratorActions) { |
| 1007 | action.Value(lg, action.Backtrace, GeneratorActionWhen::AfterConfigure); |
| 1008 | } |
| 1009 | this->GeneratorActionsInvoked = true; |
| 1010 | |
| 1011 | // go through all configured files and see which ones still exist. |
| 1012 | // we don't want cmake to re-run if a configured file is created and deleted |
| 1013 | // during processing as that would make it a transient file that can't |
| 1014 | // influence the build process |
| 1015 | cm::erase_if(this->OutputFiles, file_not_persistent()); |
| 1016 | |
| 1017 | // if a configured file is used as input for another configured file, |
| 1018 | // and then deleted it will show up in the input list files so we |
| 1019 | // need to scan those too |
| 1020 | cm::erase_if(this->ListFiles, file_not_persistent()); |
| 1021 | } |
| 1022 | |
| 1023 | // Generate the output file |
| 1024 | void cmMakefile::Generate(cmLocalGenerator& lg) |
no test coverage detected