[NFC] Add SUPPORT_PLUGINS to add_llvm_executable()
authorDavid Tenty <daltenty@ibm.com>
Wed, 6 Nov 2019 18:05:32 +0000 (13:05 -0500)
committerDavid Tenty <daltenty@ibm.com>
Wed, 6 Nov 2019 19:32:35 +0000 (14:32 -0500)
commit6740a88dc18d0be14926a5e709bd5062e31ee81c
tree4db20a759b9aa442bbbfc6cd8b3952207ceed89c
parent52af7aedfe5dd5cfb1a6f486040a2549bbdbcf93
[NFC] Add SUPPORT_PLUGINS to add_llvm_executable()

Summary:
this allows us to move logic about when it is appropriate set
LLVM_NO_DEAD_STRIP out of each tool and into add_llvm_executable,
which will enable future platform specific handling.

This is a follow on to the reverted D69356

Reviewers: hubert.reinterpretcast, beanz, lhames

Reviewed By: beanz

Subscribers: mgorny, cfe-commits, llvm-commits

Tags: #clang, #llvm

Differential Revision: https://reviews.llvm.org/D69638
clang/tools/driver/CMakeLists.txt
llvm/cmake/modules/AddLLVM.cmake
llvm/tools/bugpoint/CMakeLists.txt
llvm/tools/llc/CMakeLists.txt
llvm/tools/opt/CMakeLists.txt