VS: Drop GenerateManifest from .vcxproj files for non-MS tools

The .vcxproj file content generated by OutputLinkIncremental is
specific to MS tools, so drop it when using other tools.
This commit is contained in:
Brad King 2014-09-26 10:12:31 -04:00
parent 227a336714
commit c655f0c417
1 changed files with 4 additions and 0 deletions

View File

@ -1593,6 +1593,10 @@ void
cmVisualStudio10TargetGenerator:: cmVisualStudio10TargetGenerator::
OutputLinkIncremental(std::string const& configName) OutputLinkIncremental(std::string const& configName)
{ {
if(!this->MSTools)
{
return;
}
// static libraries and things greater than modules do not need // static libraries and things greater than modules do not need
// to set this option // to set this option
if(this->Target->GetType() == cmTarget::STATIC_LIBRARY if(this->Target->GetType() == cmTarget::STATIC_LIBRARY