[CMake] CMake 2.4.1, VC71, VCMIDLTool missing "AdditionalIncludeDirectories" tag

Brandon Van Every bvanevery at gmail.com
Wed May 9 17:25:05 EDT 2007


Why CMake 2.4.1?  Are you stuck with that version for some reason?  Current
is CMake 2.4.6, and of course there's CMake CVS.  Does the problem exist for
either of those?

Cheers,
Brandon Van Every

On 5/9/07, Rob Mathews <Rob.Mathews at varolii.com> wrote:
>
> Title says it all. No way to pass a list of extra include directories to
> the MIDL tool because CMake doesn't generate the
> AdditionIncludeDirectories tag for the MIDL tool.
>
> The fix is in cmLocalVisualStudio7Generator.cxx, lines 589, insert this
> code:
>
>   fout << "\t\t\t\tAdditionalIncludeDirectories=\"";
>   for(i = includes.begin();i != includes.end(); ++i)
>   {
>           std::string ipath = this->ConvertToXMLOutputPath(i->c_str());
>           fout << ipath << ";";
>   }
>
>
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20070509/984f0750/attachment.htm


More information about the CMake mailing list