ENH: remove patch as directory change was already fixed

This commit is contained in:
Bill Hoffman 2008-01-15 14:00:52 -05:00
parent feea7133ef
commit a7e1031efe
3 changed files with 21 additions and 8 deletions

View File

@ -1 +1,3 @@
This is the Qt interface to CMake. It has a BSD license compatible with the Qt license.
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

View File

@ -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;

View File

@ -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.