Fix compiler extension in standalone mode
authorserge-sans-paille <sguelton@redhat.com>
Sun, 16 Feb 2020 08:31:16 +0000 (09:31 +0100)
committerserge-sans-paille <sguelton@redhat.com>
Thu, 20 Feb 2020 06:19:04 +0000 (07:19 +0100)
commit3a0f6e699bb6d96dc62dce6faef20ac26cf103fd
treed9eede1ff226a3623720ac1775c43099aa030a94
parentd6d640ebae65d7a9f556f3a957a7b36d025dd16f
Fix compiler extension in standalone mode

Use a dedicated cmake file to store the extension configured within LLVM. That
way, a standalone build of clang can load this cmake file and get all the
configured standalone extensions.

This patch is related to https://reviews.llvm.org/D74602

Differential Revision: https://reviews.llvm.org/D74757
clang/CMakeLists.txt
llvm/CMakeLists.txt
llvm/cmake/modules/AddLLVM.cmake
llvm/cmake/modules/CMakeLists.txt