[CMake] CMake 2.4.1, VC71,
VCMIDLTool missing "AdditionalIncludeDirectories" tag
Rob Mathews
Rob.Mathews at varolii.com
Wed May 9 09:13:44 EDT 2007
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 << ";";
}
More information about the CMake
mailing list