1set(LLVM_TARGET_DEFINITIONS ${LLVM_MAIN_INCLUDE_DIR}/llvm/Frontend/OpenACC/ACC.td) 2tablegen(LLVM ACC.cpp --gen-directive-impl) 3add_public_tablegen_target(acc_cpp) 4 5add_llvm_component_library(LLVMFrontendOpenACC 6 ACC.cpp # Generated by tablegen above 7 8 ADDITIONAL_HEADER_DIRS 9 ${LLVM_MAIN_INCLUDE_DIR}/llvm/Frontend 10 ${LLVM_MAIN_INCLUDE_DIR}/llvm/Frontend/OpenACC 11 12 DEPENDS 13 acc_gen 14 acc_cpp 15) 16 17target_link_libraries(LLVMFrontendOpenACC LLVMSupport) 18 19