[PATCH] CMake: Automatically pick up subdirectories in llvm/tools as 'external projects' if they contain a 'CMakeLists.txt' file

Reid Kleckner rnk at google.com
Tue Aug 20 13:22:32 PDT 2013


Do the autoconf makefiles automatically recurse into subdirs of tools?
 Don't we already recurse into llvm/projects/?  Is there any reason to do
this for tools/ as well?


On Tue, Aug 20, 2013 at 1:13 PM, Dmitri Gribenko <gribozavr at gmail.com>wrote:

> On Tue, Aug 20, 2013 at 10:50 AM, Argyrios Kyrtzidis
> <kyrtzidis at apple.com> wrote:
> > The attached patch allows CMake to pick up external projects in
> llvm/tools without the need to modify the "llvm/tools/CMakeLists.txt" file.
> > This makes it easier to work with projects that live in other
> repositories, without needing to specify each one in
> "llvm/tools/CMakeLists.txt".
>
> Not a real review, but: I like the idea and I tested the patch on
> Linux/CMake/ninja.
>
> Dmitri
>
> --
> main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
> (j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130820/8782b48b/attachment.html>


More information about the llvm-commits mailing list