llvm-for-llvmta/tools/llvm-exegesis/lib/AArch64/CMakeLists.txt

19 lines
401 B
CMake
Raw Normal View History

2022-04-25 10:02:23 +02:00
include_directories(
${LLVM_MAIN_SRC_DIR}/lib/Target/AArch64
${LLVM_BINARY_DIR}/lib/Target/AArch64
)
add_library(LLVMExegesisAArch64
STATIC
Target.cpp
)
llvm_update_compile_flags(LLVMExegesisAArch64)
llvm_map_components_to_libnames(libs
AArch64
Exegesis
)
target_link_libraries(LLVMExegesisAArch64 ${libs})
set_target_properties(LLVMExegesisAArch64 PROPERTIES FOLDER "Libraries")