1 set(LLVM_LINK_COMPONENTS support system)
2 set(LLVM_REQUIRES_EH 1)
5 add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${ofn}
6 COMMAND ${LLVM_TABLEGEN} ${ARGN} -I ${CMAKE_CURRENT_SOURCE_DIR} -I ${CMAKE_SOURCE_DIR}/lib/Target -I ${LLVM_MAIN_INCLUDE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/Graph.td -o ${ofn}
9 ${LLVM_MAIN_INCLUDE_DIR}/llvm/CompilerDriver/Common.td
10 ${LLVM_MAIN_INCLUDE_DIR}/llvm/CompilerDriver/Tools.td
11 COMMENT "Building ${ofn}..."
15 # tgen(AutoGenerated.inc -gen-llvmc)
17 # add_custom_target(AutoGenerated_ct echo Tablegenning
19 # ${CMAKE_CURRENT_BINARY_DIR}/AutoGenerated.inc
22 include_directories( ${CMAKE_CURRENT_BINARY_DIR} )
31 # add_dependencies(llvmc2 AutoGenerated_ct)