commit | 0a04f70a4b425044237117dc5bbe462124ad82fb | [log] [tgz] |
---|---|---|
author | Michael Gottesman <mgottesman@apple.com> | Sat Jun 25 11:31:50 2016 +0000 |
committer | Michael Gottesman <mgottesman@apple.com> | Sat Jun 25 11:31:50 2016 +0000 |
tree | 2771ff202cb56dbe37a87fa41c89bca1782b8e61 | |
parent | 9ee91f91a81a9a739ed3ca15c90b3a493cc9b005 [diff] |
[cmake] Port the llvm-config option --build-mode to LLVMConfig.cmake via the variable LLVM_BUILD_TYPE. This is just a small step in the direction of making LLVMConfig.cmake a complete replacement for llvm-config. For those unfamiliar, llvm-config --build-mode prints out CMAKE_BUILD_TYPE. Thus as one can imagine, LLVM_BUILD_TYPE is @CMAKE_BUILD_TYPE@. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@273782 91177308-0d34-0410-b5e6-96231b3b80d8