CREATE_PROJECT: Only write engineMap references

This commit is contained in:
SupSuper 2020-11-11 04:18:25 +00:00
parent e9b3974ff8
commit 8e39764f03
4 changed files with 6 additions and 24 deletions

View file

@ -175,10 +175,7 @@ void VisualStudioProvider::outputBuildEvents(std::ostream &project, const BuildS
void VisualStudioProvider::writeReferences(const BuildSetup &setup, std::ofstream &output) {
output << "\tProjectSection(ProjectDependencies) = postProject\n";
for (UUIDMap::const_iterator i = _allProjUuidMap.begin(); i != _allProjUuidMap.end(); ++i) {
if (i->first == setup.projectName)
continue;
for (UUIDMap::const_iterator i = _engineUuidMap.begin(); i != _engineUuidMap.end(); ++i) {
output << "\t\t{" << i->second << "} = {" << i->second << "}\n";
}