[cmake-commits] hoffman committed cmLocalVisualStudio7Generator.cxx 1.151 1.152

cmake-commits at cmake.org cmake-commits at cmake.org
Wed Oct 4 14:02:15 EDT 2006


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv16009

Modified Files:
	cmLocalVisualStudio7Generator.cxx 
Log Message:
BUG: fix for fat file systems and vs8 #2617


Index: cmLocalVisualStudio7Generator.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmLocalVisualStudio7Generator.cxx,v
retrieving revision 1.151
retrieving revision 1.152
diff -u -d -r1.151 -r1.152
--- cmLocalVisualStudio7Generator.cxx	4 Oct 2006 17:27:58 -0000	1.151
+++ cmLocalVisualStudio7Generator.cxx	4 Oct 2006 18:02:12 -0000	1.152
@@ -609,6 +609,17 @@
   fout << "\t\t\t\tInterfaceIdentifierFileName=\"$(InputName)_i.c\"\n";
   fout << "\t\t\t\tProxyFileName=\"$(InputName)_p.c\"/>\n";
   // end of <Tool Name=VCMIDLTool
+  
+  // If we are building a version 8 project file, add a flag telling the
+  // manifest tool to use a workaround for FAT32 file systems, which can cause
+  // an empty manifest to be embedded into the resulting executable.
+  // See CMake bug #2617.
+  if ( this->Version == 8 )
+    {
+    fout << "\t\t\t<Tool\n\t\t\t\tName=\"VCManifestTool\"\n"
+         << "\t\t\t\tUseFAT32Workaround=\"true\"\n"
+         << "\t\t\t/>\n";
+    }
 
   this->OutputTargetRules(fout, target, libName);
   this->OutputBuildTool(fout, configName, libName, target);



More information about the Cmake-commits mailing list