diff options
author | Michael Gottesman <mgottesman@apple.com> | 2016-07-10 02:43:47 +0000 |
---|---|---|
committer | Michael Gottesman <mgottesman@apple.com> | 2016-07-10 02:43:47 +0000 |
commit | 76b8ab51811b53d9d857dcf46328cd3cfa27a623 (patch) | |
tree | b49cb4f8657bd925ee821ce8b6e1ac7110045874 /CMakeLists.txt | |
parent | 4c6356e8c64e246972f760a1f05bc0f365b090ad (diff) |
[cmake] Create the LLVM_BUILD_UTILS option.
This option is the equivalent option to LLVM_BUILD_TOOLS but for executables
created via add_llvm_utility.
This is a useful tool for improving compile time in situations where LLVM is
used as a library and no testing tools are needed.
It follows the exact same implemention model as LLVM_BUILD_TOOLS.
Since the option is by default set to on, no behavior is changed unless one sets
it from the command line to be false.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@275007 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index ed3e1b8a07c..ac59748993a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -391,6 +391,8 @@ option(LLVM_BUILD_TOOLS "Build the LLVM tools. If OFF, just generate build targets." ON) option(LLVM_INCLUDE_UTILS "Generate build targets for the LLVM utils." ON) +option(LLVM_BUILD_UTILS + "Build LLVM utility binaries. If OFF, just generate build targets." ON) option(LLVM_BUILD_RUNTIME "Build the LLVM runtime libraries." ON) |