[Alignment] Migrate Attribute::getWith(Stack)Alignment
[llvm-core.git] / unittests / tools / llvm-exegesis / X86 / CMakeLists.txt
blobc9de60d6c64b1d4a38f8fcfb5bddd7dccfd1d5cf
1 include_directories(
2   ${LLVM_MAIN_SRC_DIR}/lib/Target/X86
3   ${LLVM_BINARY_DIR}/lib/Target/X86
4   ${LLVM_MAIN_SRC_DIR}/tools/llvm-exegesis/lib
5   )
7 set(LLVM_LINK_COMPONENTS
8   MC
9   MCParser
10   Object
11   Support
12   Symbolize
13   X86
14   )
16 add_llvm_unittest(LLVMExegesisX86Tests
17   AssemblerTest.cpp
18   BenchmarkResultTest.cpp
19   RegisterAliasingTest.cpp
20   SchedClassResolutionTest.cpp
21   SnippetFileTest.cpp
22   SnippetGeneratorTest.cpp
23   SnippetRepetitorTest.cpp
24   TargetTest.cpp
25   )
26 target_link_libraries(LLVMExegesisX86Tests PRIVATE
27   LLVMExegesis
28   LLVMExegesisX86)