[Lldb-commits] [PATCH] D29333: [CMake] Add accurate dependency specifications
Chris Bieneman via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Tue Jan 31 12:53:44 PST 2017
beanz added a comment.
@labath, we'll have to see if CMake's handling is good enough. What CMake actually does is repeat the full chain of the cycle, so it would be something like adding `-lX -lY -lX -lY` in your example. This doesn't work for certain pathological cases, but CMake actually has mechanisms to help deal with that too if we need them:
https://cmake.org/cmake/help/v3.4/command/target_link_libraries.html#cyclic-dependencies-of-static-libraries
https://reviews.llvm.org/D29333
More information about the lldb-commits
mailing list