mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-21 05:38:24 -05:00
Merge topic 'msvc-llvm-mt'
3c0f701990 MSVC: Run manifest tool with llvm-mt compatible arguments
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8706
This commit is contained in:
@@ -82,7 +82,7 @@ if(("x${CMAKE_${_CMAKE_PROCESSING_LANGUAGE}_SIMULATE_ID}" STREQUAL "xMSVC" AND
|
||||
if("x${CMAKE_${_CMAKE_PROCESSING_LANGUAGE}_COMPILER_ID}" STREQUAL "xClang")
|
||||
set(_CMAKE_NM_NAMES "llvm-nm" "nm")
|
||||
list(PREPEND _CMAKE_AR_NAMES "llvm-lib")
|
||||
# llvm-mt does not support all flags we need in vs_link_exe
|
||||
# llvm-mt is not ready to be used as a replacement for mt.exe
|
||||
# list(PREPEND _CMAKE_MT_NAMES "llvm-mt")
|
||||
list(PREPEND _CMAKE_LINKER_NAMES "lld-link")
|
||||
list(APPEND _CMAKE_TOOL_VARS NM)
|
||||
|
||||
Reference in New Issue
Block a user