[LLVMdev] Question about TableGen when adding LLVM Backend.

Christoph Erhardt christoph at sicherha.de
Sun Mar 13 04:33:48 PDT 2011


Hi Andreas,

> In practice that'll mean adding the correct directives to  
> CMakeLists.txt, not Makefile, right? That's what the targets I looked  
> at did.
LLVM can be built using either CMake or the GNU Autotools. Your backend
ought to provide support for both build systems, so you should create a
CMakeLists.txt as well as a Makefile in your sub-directory.
The Makefile appears to be rather trivial because there's some automagic
going on - nevertheless, you will need one. :-)

> Or is that optional when you just invoke "make"?
In that case you're using the Autotools, so your Makefile is going to be
utilized.

Best regards,
Christoph



More information about the llvm-dev mailing list