summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorTarget.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-02-13 14:02:09 (GMT)
committerStephen Kelly <steveire@gmail.com>2014-02-24 15:43:24 (GMT)
commitb8b99cc1e5efa8f1513ceb3025c66f3b28fc5bab (patch)
tree9860adeb2410ec89a3ed155525650a534c994414 /Source/cmGeneratorTarget.cxx
parent01bca553b83cd8c3a4a4d0348bd317d118a98995 (diff)
downloadCMake-b8b99cc1e5efa8f1513ceb3025c66f3b28fc5bab.zip
CMake-b8b99cc1e5efa8f1513ceb3025c66f3b28fc5bab.tar.gz
CMake-b8b99cc1e5efa8f1513ceb3025c66f3b28fc5bab.tar.bz2
cmTarget: Avoid computing languages when computing transitive targets.
For the OLD CMP0022 behavior, we need to treat the implementation as the interface when computing the interface libraries. Make it possible to do that without computing the link languages by adding a new GetLinkImplementationLibraries method. Extend the existing GetLinkImplementation method to populate the languages if the libraries have already been computed and cached. Change GetTransitivePropertyTargets to invoke GetLinkInterfaceLibraries instead of GetLinkInterface. This is key, as it is a method called by cmGeneratorExpressionEvaluator. Change the cmGeneratorExpressionEvaluator to invoke GetLinkImplementationLibraries instead of GetLinkImplementation.
Diffstat (limited to 'Source/cmGeneratorTarget.cxx')
0 files changed, 0 insertions, 0 deletions