diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2004-03-10 19:33:18 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2004-03-10 19:33:18 (GMT) |
commit | 94d8d25fd3d038f592002829f8f2f5b390c13623 (patch) | |
tree | ffd8983a5df100441e842f8e0d87091f2a89e54a /Source/cmGlobalVisualStudio71Generator.cxx | |
parent | ddb815c12542f80f42562877298a73fab39bb4ca (diff) | |
download | CMake-94d8d25fd3d038f592002829f8f2f5b390c13623.zip CMake-94d8d25fd3d038f592002829f8f2f5b390c13623.tar.gz CMake-94d8d25fd3d038f592002829f8f2f5b390c13623.tar.bz2 |
ENH: update vs71 generator to support excluded subdirs
Diffstat (limited to 'Source/cmGlobalVisualStudio71Generator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudio71Generator.cxx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Source/cmGlobalVisualStudio71Generator.cxx b/Source/cmGlobalVisualStudio71Generator.cxx index 9055ccb..8ddb74e 100644 --- a/Source/cmGlobalVisualStudio71Generator.cxx +++ b/Source/cmGlobalVisualStudio71Generator.cxx @@ -41,6 +41,7 @@ cmLocalGenerator *cmGlobalVisualStudio71Generator::CreateLocalGenerator() // Write a SLN file to the stream void cmGlobalVisualStudio71Generator::WriteSLNFile(std::ostream& fout, + cmLocalGenerator* root, std::vector<cmLocalGenerator*>& generators) { // Write out the header for a SLN file @@ -56,7 +57,11 @@ void cmGlobalVisualStudio71Generator::WriteSLNFile(std::ostream& fout, // add it to this SLN file unsigned int i; for(i = 0; i < generators.size(); ++i) - { + { + if(this->IsExcluded(root, generators[i])) + { + continue; + } cmMakefile* mf = generators[i]->GetMakefile(); // Get the source directory from the makefile |