[lldb][CMake] Enforce not linking against plugin libs in core libs
authorAlex Langford <alangford@apple.com>
Tue, 21 Mar 2023 18:20:31 +0000 (11:20 -0700)
committerAlex Langford <alangford@apple.com>
Tue, 21 Mar 2023 23:24:36 +0000 (16:24 -0700)
commit5499b026d218f694a8c9f148466da3259f6cc1fd
treea8d516924aedc86ba21acb3d1e0949b832161da3
parent13e9afd16d8aac49caf3abaa35bc97b5430331d3
[lldb][CMake] Enforce not linking against plugin libs in core libs

Non-plugin lldb libraries should generally not be linking against lldb
plugin libraries. Enforce this in CMake.

Differential Revision: https://reviews.llvm.org/D146553
12 files changed:
lldb/cmake/modules/AddLLDB.cmake
lldb/source/Breakpoint/CMakeLists.txt
lldb/source/Commands/CMakeLists.txt
lldb/source/Core/CMakeLists.txt
lldb/source/DataFormatters/CMakeLists.txt
lldb/source/Expression/CMakeLists.txt
lldb/source/Host/CMakeLists.txt
lldb/source/Host/macosx/objcxx/CMakeLists.txt
lldb/source/Interpreter/CMakeLists.txt
lldb/source/Symbol/CMakeLists.txt
lldb/source/Target/CMakeLists.txt
lldb/source/Version/CMakeLists.txt