diff options
Diffstat (limited to 'Source/cmGlobalVisualStudio71Generator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudio71Generator.cxx | 12 |
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) |