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

19 lines
380 B
CMake
Raw Normal View History

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