Clement Courbet | ac74acd | 2018-04-04 11:37:06 +0000 | [diff] [blame^] | 1 | add_library(LLVMExegesis |
| 2 | STATIC |
| 3 | BenchmarkResult.cpp |
| 4 | BenchmarkRunner.cpp |
| 5 | InMemoryAssembler.cpp |
| 6 | InstructionSnippetGenerator.cpp |
| 7 | Latency.cpp |
| 8 | LlvmState.cpp |
| 9 | OperandGraph.cpp |
| 10 | PerfHelper.cpp |
| 11 | Uops.cpp |
| 12 | X86.cpp |
| 13 | ) |
| 14 | |
| 15 | llvm_update_compile_flags(LLVMExegesis) |
| 16 | llvm_map_components_to_libnames(libs |
| 17 | CodeGen |
| 18 | ExecutionEngine |
| 19 | MC |
| 20 | MCJIT |
| 21 | Support |
| 22 | ) |
| 23 | |
| 24 | target_link_libraries(LLVMExegesis ${libs}) |
| 25 | set_target_properties(LLVMExegesis PROPERTIES FOLDER "Libraries") |