Skip to content
Snippets Groups Projects
Commit 542b034a authored by Andy Cedilnik's avatar Andy Cedilnik
Browse files

COMP: Even more Visual Studio fixes. Why is this code duplicated?

parent 7c025101
No related branches found
No related tags found
No related merge requests found
......@@ -56,6 +56,9 @@ void cmGlobalVisualStudio71Generator::WriteSLNFile(std::ostream& fout,
bool doneCheckBuild = false;
bool doneRunTests = false;
bool doneInstall = false;
bool doneEditCache = false;
bool doneRebuildCache = false;
bool donePackage = false;
// For each cmMakefile, create a VCProj for it, and
// add it to this SLN file
......@@ -176,6 +179,39 @@ void cmGlobalVisualStudio71Generator::WriteSLNFile(std::ostream& fout,
doneRunTests = true;
}
}
if(l->first == "EDIT_CACHE")
{
if(doneEditCache)
{
skip = true;
}
else
{
doneEditCache = true;
}
}
if(l->first == "REBUILD_CACHE")
{
if(doneRebuildCache)
{
skip = true;
}
else
{
doneRebuildCache = true;
}
}
if(l->first == "PACKAGE")
{
if(donePackage)
{
skip = true;
}
else
{
donePackage = true;
}
}
if(!skip)
{
this->WriteProject(fout, si->c_str(), dir.c_str(),l->second);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment