[cmake-commits] hoffman committed cmGlobalVisualStudio7Generator.cxx
1.94 1.95 cmLocalVisualStudioGenerator.cxx 1.15 1.16
cmake-commits at cmake.org
cmake-commits at cmake.org
Tue Jan 15 14:00:54 EST 2008
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv16232
Modified Files:
cmGlobalVisualStudio7Generator.cxx
cmLocalVisualStudioGenerator.cxx
Log Message:
ENH: remove patch as directory change was already fixed
Index: cmLocalVisualStudioGenerator.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmLocalVisualStudioGenerator.cxx,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- cmLocalVisualStudioGenerator.cxx 15 Jan 2008 16:56:41 -0000 1.15
+++ cmLocalVisualStudioGenerator.cxx 15 Jan 2008 19:00:52 -0000 1.16
@@ -144,13 +144,6 @@
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.
Index: cmGlobalVisualStudio7Generator.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmGlobalVisualStudio7Generator.cxx,v
retrieving revision 1.94
retrieving revision 1.95
diff -u -d -r1.94 -r1.95
--- cmGlobalVisualStudio7Generator.cxx 19 Nov 2007 18:44:51 -0000 1.94
+++ cmGlobalVisualStudio7Generator.cxx 15 Jan 2008 19:00:52 -0000 1.95
@@ -284,6 +284,24 @@
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;
More information about the Cmake-commits
mailing list