[llvm-exegesis] Cleaner design without mutable data.
[llvm-complete.git] / unittests / tools / llvm-exegesis / X86 / CMakeLists.txt
blobb96bdb0eec93285c97167a170954217e4386595e
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   AnalysisTest.cpp
19   SnippetGeneratorTest.cpp
20   RegisterAliasingTest.cpp
21   )
22 target_link_libraries(LLVMExegesisX86Tests PRIVATE LLVMExegesis)