mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-06 04:31:08 +00:00
update cmake.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108875 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fed3fed251
commit
9ae2e3384e
@ -1,22 +1,9 @@
|
||||
set(LLVM_NO_RTTI 1)
|
||||
|
||||
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 ${CMAKE_CURRENT_SOURCE_DIR}/EDInfo.td
|
||||
DEPENDS tblgen
|
||||
COMMENT "Building enhanced disassembly semantic information header (EDInfo.inc)")
|
||||
set_source_files_properties(${CMAKE_CURRENT_BINARY_DIR}/EDInfo.inc PROPERTIES GENERATED 1)
|
||||
|
||||
include_directories(${CMAKE_CURRENT_BINARY_DIR})
|
||||
|
||||
add_llvm_library(EnhancedDisassembly
|
||||
EDDisassembler.cpp
|
||||
EDInst.cpp
|
||||
EDMain.cpp
|
||||
EDOperand.cpp
|
||||
EDToken.cpp
|
||||
../../include/llvm-c/EnhancedDisassembly.h
|
||||
${CMAKE_CURRENT_BINARY_DIR}/EDInfo.inc
|
||||
)
|
||||
|
||||
set_target_properties(EnhancedDisassembly
|
||||
|
Loading…
Reference in New Issue
Block a user