diff options
author | Martin Storsjö <martin@martin.st> | 2023-07-17 12:50:35 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2023-08-04 15:53:45 +0300 |
commit | 9b02e8d4a0abd60ae1a825e4192fc4ea67ba9049 (patch) | |
tree | 20ffb01b6e58bb3e2508d24668c803c0b45d7b12 /clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp | |
parent | 9853e9b85971335ad605b86be45aafee4f7a3573 (diff) | |
download | llvm-9b02e8d4a0abd60ae1a825e4192fc4ea67ba9049.zip llvm-9b02e8d4a0abd60ae1a825e4192fc4ea67ba9049.tar.gz llvm-9b02e8d4a0abd60ae1a825e4192fc4ea67ba9049.tar.bz2 |
[libcxx] Respect CMAKE_MSVC_RUNTIME_LIBRARY wrt whether to use the debug CRT
If CMAKE_MSVC_RUNTIME_LIBRARY isn't set, then CMake defaults to
the debug CRT, if CMAKE_BUILD_TYPE is set to Debug. If
CMAKE_MSVC_RUNTIME_LIBRARY is set though, that overrides any
implicit defaults.
Match this in libcxx's own manual linking logic. This allows
decoupling the debug CRT from the CMAKE_BUILD_TYPE and allows users
to configure their builds exactly how they want.
Differential Revision: https://reviews.llvm.org/D155561
Diffstat (limited to 'clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp')
0 files changed, 0 insertions, 0 deletions