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

nobled
Wed, 04 Aug 2010 20:36:25 -0000

Óscar Fuentes <ofv at wanadoo.es> wrote:
> The following message is a courtesy copy of an article
> that has been posted to gmane.comp.compilers.llvm.devel as well.
>
> nobled <nobled at dreamwidth.org> writes:
>
> [snip]
>
> 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?

(I also refactored some logic with helper macros to try and make it
more readable.)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: add-build-config-crt-selection-v9.patch
Type: text/x-patch
Size: 5462 bytes
Desc: not available
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20100804/48a19e4e/attachment.bin>