summaryrefslogtreecommitdiff
path: root/Source/cmVisualStudio10TargetGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-09-26 10:12:31 -0400
committerBrad King <brad.king@kitware.com>2014-09-29 16:05:52 -0400
commitc655f0c417f66096a62bb837e163ec636665dd69 (patch)
treef590b8f76cfcf910b6b0c70bef16931520d051b5 /Source/cmVisualStudio10TargetGenerator.cxx
parent227a336714274992f90ad171bd6588d8dd17b76c (diff)
downloadcmake-c655f0c417f66096a62bb837e163ec636665dd69.tar.gz
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.
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.cxx')
-rw-r--r--Source/cmVisualStudio10TargetGenerator.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx
index 3cb0c61314..a13cbd29bd 100644
--- a/Source/cmVisualStudio10TargetGenerator.cxx
+++ b/Source/cmVisualStudio10TargetGenerator.cxx
@@ -1593,6 +1593,10 @@ void
cmVisualStudio10TargetGenerator::
OutputLinkIncremental(std::string const& configName)
{
+ if(!this->MSTools)
+ {
+ return;
+ }
// static libraries and things greater than modules do not need
// to set this option
if(this->Target->GetType() == cmTarget::STATIC_LIBRARY