[llvm] [cmake] Add possibility to use ChooseMSVCCRT.cmake when include LLVM library
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Mon, 23 Sep 2019 14:11:48 +0000 (14:11 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Mon, 23 Sep 2019 14:11:48 +0000 (14:11 +0000)
commite53a724dd02eb072328ce5b7b8bffe80cdf9f271
tree5237de5f1e1e3f0d148b612f76695d0c86035211
parentec7946ea2d72b74d1a74bfea716a4638d5ba34d7
[llvm] [cmake] Add possibility to use ChooseMSVCCRT.cmake when include LLVM library

Modify LLVMConfig to produce LLVM_USE_CRT variables in build-directory. It helps to set the same compiler debug options like in builded library.

Committed on behalf of @igorban (Igor)

Differential Revision: https://reviews.llvm.org/D67175

llvm-svn: 372610
llvm/cmake/modules/LLVMConfig.cmake.in