ENH: bug fix for 2829 better flags for idl tool

This commit is contained in:
Bill Hoffman 2006-02-09 23:08:19 -05:00
parent 0748f6ae34
commit 8f71efa776
1 changed files with 16 additions and 1 deletions

View File

@ -617,7 +617,22 @@ void cmLocalVisualStudio7Generator::WriteConfiguration(std::ostream& fout,
<< "\t\t\t\tPreprocessorDefinitions=\"" << pre; << "\t\t\t\tPreprocessorDefinitions=\"" << pre;
this->OutputDefineFlags(defineFlags.c_str(), fout); this->OutputDefineFlags(defineFlags.c_str(), fout);
fout << "\" />\n"; fout << "\" />\n";
fout << "\t\t\t<Tool\n\t\t\t\tName=\"VCMIDLTool\"/>\n";
fout << "\t\t\t<Tool\n\t\t\t\tName=\"VCMIDLTool\"\n";
fout << "\t\t\t\tPreprocessorDefinitions=\"" << pre;
this->OutputDefineFlags(defineFlags.c_str(), fout);
fout << "\"\n";
fout << "\t\t\t\tMkTypLibCompatible=\"FALSE\"\n";
fout << "\t\t\t\tTargetEnvironment=\"1\"\n";
fout << "\t\t\t\tGenerateStublessProxies=\"TRUE\"\n";
fout << "\t\t\t\tTypeLibraryName=\"$(InputName).tlb\"\n";
fout << "\t\t\t\tOutputDirectory=\"$(IntDir)\"\n";
fout << "\t\t\t\tHeaderFileName=\"$(InputName).h\"\n";
fout << "\t\t\t\tDLLDataFileName=\"\"\n";
fout << "\t\t\t\tInterfaceIdentifierFileName=\"$(InputName)_i.c\"\n";
fout << "\t\t\t\tProxyFileName=\"$(InputName)_p.c\"/>\n";
// end of <Tool Name=VCMIDLTool
this->OutputTargetRules(fout, target, libName); this->OutputTargetRules(fout, target, libName);
this->OutputBuildTool(fout, configName, libName, target); this->OutputBuildTool(fout, configName, libName, target);
fout << "\t\t</Configuration>\n"; fout << "\t\t</Configuration>\n";