summaryrefslogtreecommitdiff
path: root/Source/cmGlobalVisualStudio71Generator.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2006-02-23 14:05:32 -0500
committerAndy Cedilnik <andy.cedilnik@kitware.com>2006-02-23 14:05:32 -0500
commit542b034a66da45b82afd05eacfcafa22ee41f7ac (patch)
tree719e9ff8711b22b055a414a2927e026a6a19b888 /Source/cmGlobalVisualStudio71Generator.cxx
parent7c0251014ca0fe647f7ef3743db10fa470b03034 (diff)
downloadcmake-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.cxx36
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);