Why CMake 2.4.1?&nbsp; Are you stuck with that version for some reason?&nbsp; Current is CMake 2.4.6, and of course there&#39;s CMake CVS.&nbsp; Does the problem exist for either of those?<br><br>Cheers,<br>Brandon Van Every<br><br><div>
<span class="gmail_quote">On 5/9/07, <b class="gmail_sendername">Rob Mathews</b> &lt;<a href="mailto:Rob.Mathews@varolii.com">Rob.Mathews@varolii.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Title says it all. No way to pass a list of extra include directories to<br>the MIDL tool because CMake doesn&#39;t generate the<br>AdditionIncludeDirectories tag for the MIDL tool.<br><br>The fix is in cmLocalVisualStudio7Generator.cxx
, lines 589, insert this<br>code:<br><br>&nbsp;&nbsp;fout &lt;&lt; &quot;\t\t\t\tAdditionalIncludeDirectories=\&quot;&quot;;<br>&nbsp;&nbsp;for(i = includes.begin();i != includes.end(); ++i)<br>&nbsp;&nbsp;{<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;std::string ipath = this-&gt;ConvertToXMLOutputPath(i-&gt;c_str());
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fout &lt;&lt; ipath &lt;&lt; &quot;;&quot;;<br>&nbsp;&nbsp;}<br><br><br>_______________________________________________<br>CMake mailing list<br><a href="mailto:CMake@cmake.org">CMake@cmake.org</a><br><a href="http://www.cmake.org/mailman/listinfo/cmake">
http://www.cmake.org/mailman/listinfo/cmake</a><br></blockquote></div><br>