llvm-capstone/llvm/cmake
serge-sans-paille 8d3ab9dfc4
Properly support LLVM_ENABLE_LLD on Windows
Currently, setting -DLLVM_ENABLE_LLD=ON on windows also requires setting
-DCMAKE_LINKER=lld-link.exe. This is both misleading and redundant.

Fix this by trying to find llvm-link.exe when -DLLVM_ENABLE_LLD=ON is
set and CMAKE_LINKER is not, and aborting otherwise.

Differential Revision: https://reviews.llvm.org/D140534
2022-12-22 20:07:25 +01:00
..
modules Properly support LLVM_ENABLE_LLD on Windows 2022-12-22 20:07:25 +01:00
platforms [cmake] Fix ms-compat version in WinMsvc.cmake 2022-08-09 11:13:49 +02:00
config-ix.cmake Revert D139752 "cmake: Enable 64bit off_t on 32bit glibc systems" 2022-12-20 09:45:28 -08:00
config.guess [cmake] Add LoongArch to config.guess 2022-08-01 15:05:34 +08:00
dummy.cpp
nsis_icon.ico
nsis_logo.bmp
README
unwind.h [ExecutionEngine] Check for libunwind before calling __register_frame 2021-08-15 13:35:53 +01:00

See docs/CMake.html for instructions on how to build LLVM with CMake.