cmake: Accept "thin" or "full" as arguments to -DLLVM_ENABLE_LTO
authorJustin Bogner <mail@justinbogner.com>
Mon, 8 Feb 2016 21:01:24 +0000 (21:01 +0000)
committerJustin Bogner <mail@justinbogner.com>
Mon, 8 Feb 2016 21:01:24 +0000 (21:01 +0000)
commit9fd2039fafc9ef9f03efb4910099eef29871c993
treeb7a74ddc050dd84220780cea114810912b7486dc
parenta3be895b6167f2694c1d4cd179cc90ba682230d9
cmake: Accept "thin" or "full" as arguments to -DLLVM_ENABLE_LTO

Mehdi suggested in a review of r259766 that it's also useful to easily
set the type of LTO. Augment the cmake variable to support that.

llvm-svn: 260143
llvm/cmake/modules/HandleLLVMOptions.cmake
llvm/docs/CMake.rst