[flang][cuda] Do not register global constants (#118582)
[llvm-project.git] / llvm / unittests / tools / llvm-exegesis / X86 / CMakeLists.txt
blob29100265bbd05b989c0193a4cf344cb16ffec436
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   )
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   )
18 add_llvm_exegesis_unittest_link_components(
19   Core
20   Codegen
21   MC
22   MCParser
23   Object
24   Support
25   Symbolize
26   X86
27   )
29 set(libs)
30 if(HAVE_LIBRT)
31   list(APPEND libs rt)
32 endif()
34 add_llvm_exegesis_unittest_link_libraries(
35   LLVMExegesisX86
36   ${libs}
37   )