diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-02-23 14:05:32 -0500 |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-02-23 14:05:32 -0500 |
commit | 542b034a66da45b82afd05eacfcafa22ee41f7ac (patch) | |
tree | 719e9ff8711b22b055a414a2927e026a6a19b888 /Source/cmGlobalVisualStudio71Generator.cxx | |
parent | 7c0251014ca0fe647f7ef3743db10fa470b03034 (diff) | |
download | cmake-542b034a66da45b82afd05eacfcafa22ee41f7ac.tar.gz |
COMP: Even more Visual Studio fixes. Why is this code duplicated?
Diffstat (limited to 'Source/cmGlobalVisualStudio71Generator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudio71Generator.cxx | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudio71Generator.cxx b/Source/cmGlobalVisualStudio71Generator.cxx index ef9487d635..ad31d5a2a1 100644 --- a/Source/cmGlobalVisualStudio71Generator.cxx +++ b/Source/cmGlobalVisualStudio71Generator.cxx @@ -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); |