mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-05 17:39:16 +00:00
hopefully teach cmake to build the .inc file.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108874 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
feb9cf4581
commit
fed3fed251
@ -1,6 +1,15 @@
|
||||
|
||||
add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/EDInfo.inc
|
||||
COMMAND ${LLVM_TABLEGEN_EXE} -o ${CMAKE_CURRENT_BINARY_DIR}/EDInfo.inc
|
||||
-gen-enhanced-disassembly-header
|
||||
DEPENDS tblgen
|
||||
COMMENT "Building enhanced disassembly semantic information header (EDInfo.inc)")
|
||||
set_source_files_properties(${CMAKE_CURRENT_BINARY_DIR}/EDInfo.inc PROPERTIES GENERATED 1)
|
||||
|
||||
add_llvm_library(LLVMMCDisassembler
|
||||
EDDisassembler.cpp
|
||||
EDOperand.cpp
|
||||
EDInst.cpp
|
||||
EDToken.cpp
|
||||
${CMAKE_CURRENT_BINARY_DIR}/EDInfo.inc
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user