llvm-project/llvm/unittests/CodeGen/CMakeLists.txt

29 lines
480 B
CMake

set(LLVM_LINK_COMPONENTS
${LLVM_TARGETS_TO_BUILD}
Analysis
AsmParser
AsmPrinter
CodeGen
Core
MC
MIRParser
SelectionDAG
Support
Target
)
add_llvm_unittest(CodeGenTests
AArch64SelectionDAGTest.cpp
DIEHashTest.cpp
LowLevelTypeTest.cpp
LexicalScopesTest.cpp
MachineInstrBundleIteratorTest.cpp
MachineInstrTest.cpp
MachineOperandTest.cpp
ScalableVectorMVTsTest.cpp
TypeTraitsTest.cpp
TargetOptionsTest.cpp
)
add_subdirectory(GlobalISel)