summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio7Generator.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2006-02-23 18:37:35 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2006-02-23 18:37:35 (GMT)
commit549b77034e4a927a5f5775b0d6d2ef8026b14de0 (patch)
tree79068987e9f214e880a81017422a5aec9e2d5319 /Source/cmGlobalVisualStudio7Generator.cxx
parent3d617b48aafbef2cbfa078a52fa8ffbceae14286 (diff)
downloadCMake-549b77034e4a927a5f5775b0d6d2ef8026b14de0.zip
CMake-549b77034e4a927a5f5775b0d6d2ef8026b14de0.tar.gz
CMake-549b77034e4a927a5f5775b0d6d2ef8026b14de0.tar.bz2
COMP: Fixes for visual studio
Diffstat (limited to 'Source/cmGlobalVisualStudio7Generator.cxx')
-rw-r--r--Source/cmGlobalVisualStudio7Generator.cxx39
1 files changed, 39 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudio7Generator.cxx b/Source/cmGlobalVisualStudio7Generator.cxx
index 93ac900..9fcedac 100644
--- a/Source/cmGlobalVisualStudio7Generator.cxx
+++ b/Source/cmGlobalVisualStudio7Generator.cxx
@@ -280,6 +280,9 @@ void cmGlobalVisualStudio7Generator::WriteSLNFile(std::ostream& fout,
bool doneAllBuild = 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
@@ -389,6 +392,39 @@ void cmGlobalVisualStudio7Generator::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);
@@ -708,6 +744,9 @@ void cmGlobalVisualStudio7Generator::Configure()
this->CreateGUID("ALL_BUILD");
this->CreateGUID("INSTALL");
this->CreateGUID("RUN_TESTS");
+ this->CreateGUID("EDIT_CACHE");
+ this->CreateGUID("REBUILD_CACHE");
+ this->CreateGUID("PACKAGE");
}
//----------------------------------------------------------------------------