forked from OSchip/llvm-project
[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
This commit is contained in:
parent
ec7946ea2d
commit
e53a724dd0
|
@ -10,6 +10,11 @@ set(LLVM_PACKAGE_VERSION @PACKAGE_VERSION@)
|
|||
|
||||
set(LLVM_BUILD_TYPE @CMAKE_BUILD_TYPE@)
|
||||
|
||||
set(LLVM_USE_CRT_DEBUG @LLVM_USE_CRT_DEBUG@)
|
||||
set(LLVM_USE_CRT_MINSIZEREL @LLVM_USE_CRT_MINSIZEREL@)
|
||||
set(LLVM_USE_CRT_RELEASE @LLVM_USE_CRT_RELEASE@)
|
||||
set(LLVM_USE_CRT_RELWITHDEBINFO @LLVM_USE_CRT_RELWITHDEBINFO@)
|
||||
|
||||
set(LLVM_COMMON_DEPENDS @LLVM_COMMON_DEPENDS@)
|
||||
|
||||
set(LLVM_AVAILABLE_LIBS @LLVM_AVAILABLE_LIBS@)
|
||||
|
|
Loading…
Reference in New Issue