[PATCH] D36971: [CMAKE] Move version control macros to ADDLLVM so they can be reused by clang, etc.
don hinton via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Aug 26 08:08:59 PDT 2017
hintonda added a comment.
> I just checked that this patch is working correctly from clang. I am just wondering if there is a possibility of using clang only without llvm. If this is the case, clang might need its own version control macros ? Or no such case.
LLVM is required to build clang, either in-tree or found via llvm-config for out-of-tree builds.
For in-tree builds, AddLLVM.cmake gets included by llvm/CMakeLists.txt, whereas it will be included by clang/CMakeLists.txt for out of tree builds.
https://reviews.llvm.org/D36971
More information about the llvm-commits
mailing list