Debian Codegraph @

llvm/unittests/tools/llvm-exegesis/X86/CMakeLists.txt

raw
1 add_llvm_exegesis_unittest_includes(
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 )
6
7 add_llvm_exegesis_unittest_sources(
8 BenchmarkResultTest.cpp
9 RegisterAliasingTest.cpp
10 SchedClassResolutionTest.cpp
11 SnippetFileTest.cpp
12 SnippetGeneratorTest.cpp
13 SnippetRepetitorTest.cpp
14 SubprocessMemoryTest.cpp
15 TargetTest.cpp
16 )
17
18 add_llvm_exegesis_unittest_link_components(
19 Core
20 Codegen
21 MC
22 MCParser
23 Object
24 Support
25 Symbolize
26 X86
27 )
28
29 set(libs)
30 if(HAVE_LIBRT)
31 list(APPEND libs rt)
32 endif()
33
34 add_llvm_exegesis_unittest_link_libraries(
35 LLVMExegesisX86
36 ${libs}
37 )