1##===----------------------------------------------------------------------===## 2# 3# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4# See https://llvm.org/LICENSE.txt for license information. 5# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6# 7##===----------------------------------------------------------------------===## 8include(TableGen) 9 10set(LLVM_LINK_COMPONENTS Support) 11 12add_tablegen(offload-tblgen OFFLOAD 13 EXPORT OFFLOAD 14 APIGen.cpp 15 EntryPointGen.cpp 16 FuncsGen.cpp 17 GenCommon.hpp 18 Generators.hpp 19 offload-tblgen.cpp 20 PrintGen.cpp 21 RecordTypes.hpp 22 ) 23 24set(OFFLOAD_TABLEGEN_EXE "${OFFLOAD_TABLEGEN_EXE}" CACHE INTERNAL "") 25set(OFFLOAD_TABLEGEN_TARGET "${OFFLOAD_TABLEGEN_TARGET}" CACHE INTERNAL "") 26 27