diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2006-10-04 18:02:12 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2006-10-04 18:02:12 (GMT) |
commit | 430f6f35ebfd237e6f33afee21308bfc28a7a553 (patch) | |
tree | b1b5001dc1132740cbc48611409ff282a33f7f2f | |
parent | 608f7352158fa062c7bdbe6cc547a754a764d09e (diff) | |
download | CMake-430f6f35ebfd237e6f33afee21308bfc28a7a553.zip CMake-430f6f35ebfd237e6f33afee21308bfc28a7a553.tar.gz CMake-430f6f35ebfd237e6f33afee21308bfc28a7a553.tar.bz2 |
BUG: fix for fat file systems and vs8 #2617
-rw-r--r-- | Source/cmLocalVisualStudio7Generator.cxx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx index 18ca80b..94ff58c 100644 --- a/Source/cmLocalVisualStudio7Generator.cxx +++ b/Source/cmLocalVisualStudio7Generator.cxx @@ -609,6 +609,17 @@ void cmLocalVisualStudio7Generator::WriteConfiguration(std::ostream& fout, 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); |