mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-27 01:06:06 +00:00

Without targets registered gives: "error: MS-style inline assembly is not available: Unable to find target for this triple (no targets are registered)" Differential Revision: https://reviews.llvm.org/D154983
22 lines
345 B
CMake
22 lines
345 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
${LLVM_TARGETS_TO_BUILD}
|
|
AllTargetsAsmParsers
|
|
AllTargetsDescs
|
|
AllTargetsInfos
|
|
support
|
|
)
|
|
|
|
add_clang_tool(clang-extdef-mapping
|
|
ClangExtDefMapGen.cpp
|
|
)
|
|
|
|
clang_target_link_libraries(clang-extdef-mapping
|
|
PRIVATE
|
|
clangAST
|
|
clangBasic
|
|
clangCrossTU
|
|
clangFrontend
|
|
clangSerialization
|
|
clangTooling
|
|
)
|