Displaying 3 results from an estimated 3 matches for "releasestatic".
2010 Aug 03
2
[LLVMdev] [PATCH] MSVC: Allow choosing different CRT for different build types
...ice between dynamic and static CRT, too. Like Mesa/Gallium3d: by
default CMake has LLVM compiled with the dynamically linked CRT, but
Gallium needs a static CRT and right now it expects LLVM's Debug build
to use /MTd and Release to use /MT. If we add a bunch of new
build-types like DebugStatic, ReleaseStatic, ReleaseStaticDebug, etc
for all the use cases, it seems like it'd end up just as complicated
as having a separate option for each type.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: add-build-config-crt-selection-v8.patch
Type: text/x-patch
Size: 4889 byte...
2010 Aug 02
0
[LLVMdev] [PATCH] MSVC: Allow choosing different CRT for different build types
nobled <nobled at dreamwidth.org> writes:
> This patch splits LLVM_USE_CRT into new CMake variables
> LLVM_USE_CRT_DEBUG, LLVM_USE_CRT_RELEASE, etc (one for each build
> type). It also automatically detects which CRT was already chosen by
> CMake's defaults in the CMAKE_CXX_FLAGS_* variables, and defaults to
> those values.
>
> (Before, it was using
2010 Aug 02
2
[LLVMdev] [PATCH] MSVC: Allow choosing different CRT for different build types
This patch splits LLVM_USE_CRT into new CMake variables
LLVM_USE_CRT_DEBUG, LLVM_USE_CRT_RELEASE, etc (one for each build
type). It also automatically detects which CRT was already chosen by
CMake's defaults in the CMAKE_CXX_FLAGS_* variables, and defaults to
those values.
(Before, it was using add_llvm_definitions(), which worked...somehow,
but CMAKE_CXX_FLAGS_RELEASE and friends were still