Merge topic 'add-vs9-midl-inc-dirs'

ac22e2a VS9: Add include_directories to midl command lines
This commit is contained in:
David Cole 2011-08-16 17:03:15 -04:00 committed by CMake Topic Stage
commit 7b044105ce
1 changed files with 7 additions and 0 deletions

View File

@ -825,6 +825,13 @@ void cmLocalVisualStudio7Generator::WriteConfiguration(std::ostream& fout,
tool = "VFMIDLTool"; tool = "VFMIDLTool";
} }
fout << "\t\t\t<Tool\n\t\t\t\tName=\"" << tool << "\"\n"; fout << "\t\t\t<Tool\n\t\t\t\tName=\"" << tool << "\"\n";
fout << "\t\t\t\tAdditionalIncludeDirectories=\"";
for(i = includes.begin(); i != includes.end(); ++i)
{
std::string ipath = this->ConvertToXMLOutputPath(i->c_str());
fout << ipath << ";";
}
fout << "\"\n";
fout << "\t\t\t\tMkTypLibCompatible=\"FALSE\"\n"; fout << "\t\t\t\tMkTypLibCompatible=\"FALSE\"\n";
if( this->PlatformName == "x64" ) if( this->PlatformName == "x64" )
{ {