[LLVMdev] Using 'llvm-build' for out-of-tree projects

Fabian Scheler fabian.scheler at gmail.com
Tue Jan 22 04:50:30 PST 2013

2013/1/22 Óscar Fuentes <ofv at wanadoo.es>

> Duncan Sands <baldrick at free.fr> writes:
> >> CMake works nicely for out-of-tree projects. I have an optimiser
> >> plugin that builds this way. I'm not sure if it's fixed now, but the
> >> autoconf builds used to not install the CMake plugins, which was a
> >> problem if packagers decided to use autoconf.
> >
> > can you please post your project's cmake stuff somewhere, it could be
> helpful
> > for cmake weenies like me.
> This explains how to develop a pass out-of-source. Is that enough?

Well, our out-of-tree project does not consist of a single pass only and we
already have already implemented autoconf- and cmake-based build systems
based on those of the LLVM. The problem is that these are not "identical"
(i.e. they diverge) and I hoped that llvm-build could help here. AFAIK,
llvm-build places a meta-meta-build-system on top of the autoconf and cmake
stuff and tries to unify them. Is this right/wrong?

Furthermore, the warnings that no LLVMBuild.txt-files are found annoys me
and I want to get rid f them.

Ciao, Fabian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130122/31e844a7/attachment.html>

More information about the llvm-dev mailing list