llvm-project/llvm/tools/llc/CMakeLists.txt
Steven Wu b8c560f159
[CMake] Remove EXPORT_SYMBOLS_FOR_PLUGINS from #102138 (#102396)
Partially remove some of the changes from #102138 as
EXPORT_SYMBOLS_FOR_PLUGINS doesn't work on all the configurations.
2024-08-08 06:00:11 -07:00

36 lines
456 B
CMake

set(LLVM_LINK_COMPONENTS
AllTargetsAsmParsers
AllTargetsCodeGens
AllTargetsDescs
AllTargetsInfos
Analysis
AsmPrinter
CodeGen
CodeGenTypes
Core
IRPrinter
IRReader
MC
MIRParser
Passes
Remarks
ScalarOpts
SelectionDAG
Support
Target
TargetParser
TransformUtils
Vectorize
)
add_llvm_tool(llc
llc.cpp
NewPMDriver.cpp
DEPENDS
intrinsics_gen
SUPPORT_PLUGINS
)
export_executable_symbols_for_plugins(llc)