[LLVM][NFC] remove unused fields
[llvm-complete.git] / unittests / tools / llvm-exegesis / CMakeLists.txt
blob05b2b3bc605c862f47acf1cec79ee1e6ac68b9ee
1 include_directories(
2   ${LLVM_MAIN_SRC_DIR}/tools/llvm-exegesis/lib
3   )
5 set(LLVM_LINK_COMPONENTS
6   MC
7   MCParser
8   Object
9   Support
10   Symbolize
11   )
13 add_llvm_unittest(LLVMExegesisTests
14   BenchmarkRunnerTest.cpp
15   ClusteringTest.cpp
16   PerfHelperTest.cpp
17   RegisterValueTest.cpp
18   )
19 target_link_libraries(LLVMExegesisTests PRIVATE LLVMExegesis)
21 if(LLVM_TARGETS_TO_BUILD MATCHES "X86")
22   add_subdirectory(X86)
23 endif()
24 if(LLVM_TARGETS_TO_BUILD MATCHES "ARM")
25         add_subdirectory(ARM)
26 endif()
27 if(LLVM_TARGETS_TO_BUILD MATCHES "AArch64")
28   add_subdirectory(AArch64)
29 endif()
30 if(LLVM_TARGETS_TO_BUILD MATCHES "PowerPC")
31   add_subdirectory(PowerPC)
32 endif()