summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio7Generator.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2008-01-15 19:00:52 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2008-01-15 19:00:52 (GMT)
commita7e1031efed8f95b58dc25e92bd5c977063da31e (patch)
treeee9d59afc9594a067fe21fb524f53589d8ff63c8 /Source/cmGlobalVisualStudio7Generator.cxx
parentfeea7133ef7b48a5b39b2f0c8b1e86e5e159dc29 (diff)
downloadCMake-a7e1031efed8f95b58dc25e92bd5c977063da31e.zip
CMake-a7e1031efed8f95b58dc25e92bd5c977063da31e.tar.gz
CMake-a7e1031efed8f95b58dc25e92bd5c977063da31e.tar.bz2
ENH: remove patch as directory change was already fixed
Diffstat (limited to 'Source/cmGlobalVisualStudio7Generator.cxx')
-rw-r--r--Source/cmGlobalVisualStudio7Generator.cxx18
1 files changed, 18 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudio7Generator.cxx b/Source/cmGlobalVisualStudio7Generator.cxx
index 1ef34bc..1b95e2a 100644
--- a/Source/cmGlobalVisualStudio7Generator.cxx
+++ b/Source/cmGlobalVisualStudio7Generator.cxx
@@ -284,6 +284,24 @@ void cmGlobalVisualStudio7Generator
bool doneRebuildCache = false;
bool donePackage = false;
+
+ // 1.
+ // Collecte all targets in generators vector and the targets
+ // that they depend on
+
+ // 2. loop over all targets and put .vcproj reference
+ // into .sln file. .vcproj files should already exist
+ // from local generation step. Do not add "pulled" in .vcproj
+ // to ALL_BUILD.
+ // See: cmGlobalGenerator::GetTargetDepends
+ // cmGlobalGenerator::TargetDependSet myset;
+ // foreach t in all targets
+ // cmGlobalGenerator::TargetDependSet const& tset = GetTargetDepends(t);
+ // myset.insert(tset.begin(), tset.end());
+ // foreach t in myset
+ // t->GetMakefile()->GetLocalGenerator()->GetVCProjPath()
+ // if t was not in original set of targets disable all for it
+
// For each cmMakefile, create a VCProj for it, and
// add it to this SLN file
unsigned int i;