1 include_directories(${CMAKE_CURRENT_BINARY_DIR})
4 ../../include/llvm-c/EnhancedDisassembly.h
8 set(EDIS_DEPENDS LLVMMCDisassembler LLVMMCParser)
9 if( LLVM_TARGETS_TO_BUILD MATCHES X86 )
10 list(APPEND EDIS_DEPENDS LLVMX86AsmPrinter LLVMX86AsmParser LLVMX86Disassembler LLVMX86Desc)
12 if( LLVM_TARGETS_TO_BUILD MATCHES ARM )
13 list(APPEND EDIS_DEPENDS LLVMARMAsmPrinter LLVMARMAsmParser LLVMARMDisassembler LLVMARMDesc)
16 add_llvm_library(EnhancedDisassembly ${SOURCES})
17 set_property(TARGET EnhancedDisassembly PROPERTY
18 OUTPUT_NAME "EnhancedDisassembly")
20 add_llvm_library_dependencies(EnhancedDisassembly