VS: Do not produce WinMD file for OBJECT libraries (#15228)

They are implemented as static libraries for the IDE so treat them the
same.
This commit is contained in:
Gilles Khouzam 2014-11-16 14:24:58 -08:00 committed by Brad King
parent b20a32ac73
commit 689cd0d43e
1 changed files with 2 additions and 1 deletions

View File

@ -2036,7 +2036,8 @@ WriteMasmOptions(std::string const& configName,
void
cmVisualStudio10TargetGenerator::WriteLibOptions(std::string const& config)
{
if(this->Target->GetType() != cmTarget::STATIC_LIBRARY)
if(this->Target->GetType() != cmTarget::STATIC_LIBRARY &&
this->Target->GetType() != cmTarget::OBJECT_LIBRARY)
{
return;
}