summaryrefslogtreecommitdiffstats
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
parentfeea7133ef7b48a5b39b2f0c8b1e86e5e159dc29 (diff)
downloadCMake-a7e1031efed8f95b58dc25e92bd5c977063da31e.zip
CMake-a7e1031efed8f95b58dc25e92bd5c977063da31e.tar.gz
CMake-a7e1031efed8f95b58dc25e92bd5c977063da31e.tar.bz2
ENH: remove patch as directory change was already fixed
-rw-r--r--Source/QtDialog/README4
-rw-r--r--Source/cmGlobalVisualStudio7Generator.cxx18
-rw-r--r--Source/cmLocalVisualStudioGenerator.cxx7
3 files changed, 21 insertions, 8 deletions
diff --git a/Source/QtDialog/README b/Source/QtDialog/README
index d1b38c4..0701a2b 100644
--- a/Source/QtDialog/README
+++ b/Source/QtDialog/README
@@ -1 +1,3 @@
-This is the Qt interface to CMake. It has a BSD license compatible with the Qt license. \ No newline at end of file
+This is the Qt interface to CMake. It has a BSD license compatible with the
+Qt license exception. Only developers with a paid QT license are permitted
+to make changes to this code. Small patches and bug fixes can
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;
diff --git a/Source/cmLocalVisualStudioGenerator.cxx b/Source/cmLocalVisualStudioGenerator.cxx
index a12a4db..66be038 100644
--- a/Source/cmLocalVisualStudioGenerator.cxx
+++ b/Source/cmLocalVisualStudioGenerator.cxx
@@ -144,13 +144,6 @@ cmLocalVisualStudioGenerator
script += newline;
newline = newline_text;
script += "cd ";
- OSVERSIONINFO osv;
- osv.dwOSVersionInfoSize = sizeof(osv);
- GetVersionEx(&osv);
- if(osv.dwPlatformId != VER_PLATFORM_WIN32_WINDOWS)
- {
- script += "/d ";
- }
script += this->Convert(workingDirectory, START_OUTPUT, SHELL);
// Change the working drive.