set(LLVM_TARGET_DEFINITIONS AutoGenerated.td)

tablegen(AutoGenerated.inc -gen-llvmc)

set(LLVM_USED_LIBS CompilerDriver)
set(LLVM_LINK_COMPONENTS support)

add_llvm_example(llvmc-skeleton
  Hooks.cpp
  Main.cpp
  )
