diff options
| author | Michael J. Spencer <bigcheesegs@gmail.com> | 2012-04-26 19:43:35 +0000 |
|---|---|---|
| committer | Michael J. Spencer <bigcheesegs@gmail.com> | 2012-04-26 19:43:35 +0000 |
| commit | e734f5417f25b88b765cd4c6628ef6c8516768b7 (patch) | |
| tree | 58696632f51d018d1b643d342cc10070f53e47ab /clang/lib/Frontend/Warnings.cpp | |
| parent | a6c2c29152d5d6ae285f5dfb2686bb4b2652d45c (diff) | |
| download | bcm5719-llvm-e734f5417f25b88b765cd4c6628ef6c8516768b7.tar.gz bcm5719-llvm-e734f5417f25b88b765cd4c6628ef6c8516768b7.zip | |
[CMake] Restructure how Clang, Polly and other external projects get included.
While making lld build under the tools directory I decided to refactor how this
works.
There is now a macro, add_llvm_external_project, which takes the name of the
expected subdirectory. This sets up two CMake options.
* LLVM_EXTERNAL_${NAME}_SOURCE_DIR
This is the path to the source. It defaults to
${CMAKE_CURRENT_SOURCE_DIR}/${name}.
* LLVM_EXTERNAL_${NAME}_BUILD
Enable and disable building the tool as part of LLVM.
I chose LLVM_EXTERNAL_${NAME} as a prefix so they all show up together in the
GUI.
llvm-svn: 155654
Diffstat (limited to 'clang/lib/Frontend/Warnings.cpp')
0 files changed, 0 insertions, 0 deletions

