cmLocalVisualStudio7Generator: Reset per-target members after every target

This commit is contained in:
Brad King 2024-05-07 11:54:18 -04:00
parent 252702bb35
commit acc5ea7390
2 changed files with 4 additions and 2 deletions

View File

@ -224,6 +224,8 @@ void cmLocalVisualStudio7Generator::GenerateTarget(cmGeneratorTarget* target)
this->GlobalGenerator->FileReplacedDuringGenerate(fname);
}
this->WindowsCEProject = false;
this->FortranProject = false;
gg->SetVersion(realVersion);
}

View File

@ -153,8 +153,8 @@ private:
friend class EventWriter;
bool FortranProject;
bool WindowsCEProject;
bool FortranProject = false;
bool WindowsCEProject = false;
std::unique_ptr<cmLocalVisualStudio7GeneratorInternals> Internal;
std::map<cmGeneratorTarget const*, std::set<cmSourceFile const*>>