summaryrefslogtreecommitdiff
path: root/Source/cmGlobalVisualStudio71Generator.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2006-02-24 09:32:27 -0500
committerAndy Cedilnik <andy.cedilnik@kitware.com>2006-02-24 09:32:27 -0500
commit1ecd48ba67b2e0d02227f848468f9398ec183be2 (patch)
tree1b7fff3097894288620cb113fc6321c66fae5c91 /Source/cmGlobalVisualStudio71Generator.cxx
parent743b4c99831ef6cb44cdd33d0b6fb7fa3ec1ab68 (diff)
downloadcmake-1ecd48ba67b2e0d02227f848468f9398ec183be2.tar.gz
COMP: Fix for preinstall
Diffstat (limited to 'Source/cmGlobalVisualStudio71Generator.cxx')
-rw-r--r--Source/cmGlobalVisualStudio71Generator.cxx12
1 files changed, 12 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudio71Generator.cxx b/Source/cmGlobalVisualStudio71Generator.cxx
index ad31d5a2a1..13d08a08f3 100644
--- a/Source/cmGlobalVisualStudio71Generator.cxx
+++ b/Source/cmGlobalVisualStudio71Generator.cxx
@@ -59,6 +59,7 @@ void cmGlobalVisualStudio71Generator::WriteSLNFile(std::ostream& fout,
bool doneEditCache = false;
bool doneRebuildCache = false;
bool donePackage = false;
+ bool donePreInstall = false;
// For each cmMakefile, create a VCProj for it, and
// add it to this SLN file
@@ -168,6 +169,17 @@ void cmGlobalVisualStudio71Generator::WriteSLNFile(std::ostream& fout,
doneInstall = true;
}
}
+ if(l->first == "preinstall")
+ {
+ if(donePreInstall)
+ {
+ skip = true;
+ }
+ else
+ {
+ donePreInstall = true;
+ }
+ }
if(l->first == "RUN_TESTS")
{
if(doneRunTests)