CMake: enable installing utils
authorDerek Schuff <dschuff@google.com>
Fri, 27 Mar 2015 16:53:06 +0000 (16:53 +0000)
committerDerek Schuff <dschuff@google.com>
Fri, 27 Mar 2015 16:53:06 +0000 (16:53 +0000)
commitc18ea8d96eaf7ccd8e69967ba7ab2bded581cf37
treeb705e38057931841ee2485f907310624839625b6
parentac406dfb70a4c2353230afc83dbcfa05bbcdb79e
CMake: enable installing utils

Added a new boolean CMake flag, LLVM_INSTALL_UTILS. When set,
the 'install' target will include in the bin directory the
utils binaries - e.g. FileCheck. This mirrors the autoconfig
behavior.

Test Plan:
Locally verified that utils binaries are copied when flag is set,
and not copied when flag is not set.

Reviewers: jfb, dschuff, beanz

Reviewed By: beanz

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D8587

Patch by Mircea Trofin

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233385 91177308-0d34-0410-b5e6-96231b3b80d8
CMakeLists.txt
cmake/modules/AddLLVM.cmake