[PATCH] CMake: Add ability to disable building LLVM utils

Chris Bieneman cbieneman at apple.com
Wed Mar 26 20:07:39 PDT 2014


For shipping products that include llvm libraries and tools we want the ability to not build some of the LLVM utilities (FileCheck, FileUpdate, count, not, llvm-lit, and yaml-bench).

This patch accomplishes this by adding a new CMake option LLVM_INCLUDE_UTILS which excludes those subdirectories. This patch also adds an error if you set LLVM_INCLUDE_UTILS to OFF while setting LLVM_INCLUDE_TESTS to ON, because including tests necessitates including the utils.

-Chris

Files:
  CMakelists.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: LLVM_INCLUDE_UTILS.diff
Type: application/octet-stream
Size: 1280 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140326/76066e53/attachment.obj>


More information about the llvm-commits mailing list