diff options
author | Stephen Kelly <steveire@gmail.com> | 2013-12-30 21:05:55 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-01-06 16:25:10 (GMT) |
commit | fa651c7a198d5c20e2bcb06df4673ec1a270d4d3 (patch) | |
tree | b643c46f7d1912936de1caf3befb0c7b805599cd /Source/cmGlobalXCodeGenerator.cxx | |
parent | 61d138aea2df9df2da7fa817b47131c73557fbdb (diff) | |
download | CMake-fa651c7a198d5c20e2bcb06df4673ec1a270d4d3.zip CMake-fa651c7a198d5c20e2bcb06df4673ec1a270d4d3.tar.gz CMake-fa651c7a198d5c20e2bcb06df4673ec1a270d4d3.tar.bz2 |
cmTarget: Remove some of the INTERFACE_LIBRARY whitelisted properties.
There is no need to allow EXCLUDE_* properties, because an
INTERFACE_LIBRARY has no direct build output.
IMPORTED_LINK_INTERFACE_LANGUAGES are relevant only to static
libraries.
VERSION is relevant only to the filename of direct build outputs,
which INTERFACE_LIBRARY does not have.
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.cxx')
-rw-r--r-- | Source/cmGlobalXCodeGenerator.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx index b5a46d0..381c1f5 100644 --- a/Source/cmGlobalXCodeGenerator.cxx +++ b/Source/cmGlobalXCodeGenerator.cxx @@ -488,7 +488,8 @@ cmGlobalXCodeGenerator::AddExtraTargets(cmLocalGenerator* root, dir.c_str()); } - if(!target.GetPropertyAsBool("EXCLUDE_FROM_ALL")) + if(target.GetType() != cmTarget::INTERFACE_LIBRARY + && !target.GetPropertyAsBool("EXCLUDE_FROM_ALL")) { allbuild->AddUtility(target.GetName()); } |