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

20 lines
390 B
CMake
Raw Normal View History

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