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

Dmitri Gribenko gribozavr at gmail.com
Tue Aug 20 13:13:11 PDT 2013


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>*/



More information about the llvm-commits mailing list