[PATCH] Add targets to cmake for specific target components

Pete Cooper peter_cooper at apple.com
Fri Apr 17 17:44:39 PDT 2015


Hi Chris

This patch adds cmake targets such as ‘AllTargetsAsmPrinters’ which can be used to depend on a specific piece of a backend, instead of the whole backend.

The patch also updates llvm-mc to make use of these new targets, as llvm-mc only needs the asm parsers and printers from targets, not their codegen.  This reduces the number of C++ files which need to be built when iterating on llvm-mc.

Cheers,
Pete

-------------- next part --------------
A non-text attachment was scrubbed...
Name: llvm-mc.diff
Type: application/octet-stream
Size: 2291 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150417/cf5a86be/attachment.obj>


More information about the llvm-commits mailing list