diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2006-02-10 04:08:19 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2006-02-10 04:08:19 (GMT) |
commit | 8f71efa7762e77404f4b5aa9f6f831425a9e8163 (patch) | |
tree | ccf90b9671aaf71e24e96ac2b49789d45b8f9726 | |
parent | 0748f6ae34bfda6c5931a5a915e5b169ce05906d (diff) | |
download | CMake-8f71efa7762e77404f4b5aa9f6f831425a9e8163.zip CMake-8f71efa7762e77404f4b5aa9f6f831425a9e8163.tar.gz CMake-8f71efa7762e77404f4b5aa9f6f831425a9e8163.tar.bz2 |
ENH: bug fix for 2829 better flags for idl tool
-rw-r--r-- | Source/cmLocalVisualStudio7Generator.cxx | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx index 02db5aa..e2a2531 100644 --- a/Source/cmLocalVisualStudio7Generator.cxx +++ b/Source/cmLocalVisualStudio7Generator.cxx @@ -617,7 +617,22 @@ void cmLocalVisualStudio7Generator::WriteConfiguration(std::ostream& fout, << "\t\t\t\tPreprocessorDefinitions=\"" << pre; this->OutputDefineFlags(defineFlags.c_str(), fout); 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->OutputBuildTool(fout, configName, libName, target); fout << "\t\t</Configuration>\n"; |