OSDN Git Service

[CMake] Adjust export_executable_symbols to cope with non-target link libraries
authorJohn Brawn <john.brawn@arm.com>
Tue, 5 Jul 2016 13:16:54 +0000 (13:16 +0000)
committerJohn Brawn <john.brawn@arm.com>
Tue, 5 Jul 2016 13:16:54 +0000 (13:16 +0000)
commit3ee8690d1747b2261e1111059d57c61d876cd75d
tree88aef7bb419161d3fa4e98e1da5a2263ea366611
parent723b0782c19c5aa232a82d56dce6020fe73ae593
[CMake] Adjust export_executable_symbols to cope with non-target link libraries

export_executable_symbols looks though the link libraries of the executable in
order to figure out transitive dependencies, but in doing so it assumes that
all link libraries are also targets. This is not true as of r273302, so adjust
it to check if they actually are targets.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@274546 91177308-0d34-0410-b5e6-96231b3b80d8
cmake/modules/AddLLVM.cmake