1 set(TARGETS_TO_APPEND "")
3 if (LLVM_TARGETS_TO_BUILD MATCHES "X86")
5 set(TARGETS_TO_APPEND "${TARGETS_TO_APPEND} X86")
7 if (LLVM_TARGETS_TO_BUILD MATCHES "AArch64")
8 add_subdirectory(AArch64)
9 set(TARGETS_TO_APPEND "${TARGETS_TO_APPEND} AArch64")
12 set(LLVM_EXEGESIS_TARGETS "${LLVM_EXEGESIS_TARGETS} ${TARGETS_TO_APPEND}" PARENT_SCOPE)
14 add_library(LLVMExegesis
33 llvm_update_compile_flags(LLVMExegesis)
34 llvm_map_components_to_libnames(libs
48 if(LLVM_ENABLE_LIBPFM AND HAVE_LIBPFM)
52 target_link_libraries(LLVMExegesis ${libs})
53 set_target_properties(LLVMExegesis PROPERTIES FOLDER "Libraries")