[CMake] Make the unittests link against everything...
authorZachary Turner <zturner@google.com>
Sat, 14 Mar 2015 23:39:28 +0000 (23:39 +0000)
committerZachary Turner <zturner@google.com>
Sat, 14 Mar 2015 23:39:28 +0000 (23:39 +0000)
commiteeba1a896a6f038557e3a643413a9d3be1634dee
tree55eacebd6a105837544cbad7e634095823ba9fc0
parentece7475951eadbcbe3ebebdeedff9b9bdd3f6bd6
[CMake] Make the unittests link against everything...

Sigh.  There's really not a good alternative until we decouple
python from lldb better.  The only way the build works right now
is by having every executable link against every LLDB library.
This causes implicit transitive link dependencies on the union
of everything that LLDB brings in.  Which means that if all we
want is one header file from interpreter, we have to bring in
everything, including everything that everything depends on,
which means python.

There's outstanding efforts to address this, but it's not yet
complete.  So until then, this is all we can do.

llvm-svn: 232287
lldb/cmake/modules/LLDBConfig.cmake
lldb/source/CMakeLists.txt
lldb/unittests/CMakeLists.txt
lldb/unittests/Host/SocketTest.cpp