diff options
author | Gilles Khouzam <gillesk@microsoft.com> | 2014-11-16 22:24:58 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-11-17 13:57:14 (GMT) |
commit | 689cd0d43ee1a09006f859df9d3eaf0ec0f8d430 (patch) | |
tree | 3eb3438d8f321fe52e4aac569290b4bf312058f4 /Source/cmVisualStudio10TargetGenerator.cxx | |
parent | b20a32ac7349d38b215ef065773968c63c813f70 (diff) | |
download | CMake-689cd0d43ee1a09006f859df9d3eaf0ec0f8d430.zip CMake-689cd0d43ee1a09006f859df9d3eaf0ec0f8d430.tar.gz CMake-689cd0d43ee1a09006f859df9d3eaf0ec0f8d430.tar.bz2 |
VS: Do not produce WinMD file for OBJECT libraries (#15228)
They are implemented as static libraries for the IDE so treat them the
same.
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.cxx')
-rw-r--r-- | Source/cmVisualStudio10TargetGenerator.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx index 26fc317..f9d5e00 100644 --- a/Source/cmVisualStudio10TargetGenerator.cxx +++ b/Source/cmVisualStudio10TargetGenerator.cxx @@ -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; } |