[LLVMdev] [PATCH] MSVC: Allow choosing different CRT for different build types

Óscar Fuentes ofv at wanadoo.es
Wed Aug 4 18:30:52 PDT 2010

nobled <nobled at dreamwidth.org> writes:

>> Please move the new code to a new file named
>> cmake/modules/WindowsCRTControl.cmake and include it from the top level
>> CMakeLists when LLVM_ON_WIN32.
>  Isn't it only ever used when "if (MSVC)" though, not on WIN32 in general?

MinGW uses the VC++ CRT, so it could benefit from it.

Applied an slightly modified version on r 110296

Forgot to add the "Patch by nobled!" to the commit message, sorry. As
you don't use a proper name, maybe you don't care. If you want to be
credited, drop me an e-mail and I'll try to fix it.


More information about the llvm-dev mailing list