blob: 4b7e3e0a8d3dac8dc5a93afd096778ce1f3bf444 [file] [log] [blame]
include(TableGen)
# This needs to be a macro since tablegen (which is a function) needs to set
# variables in its parent scope.
macro(swift_tablegen)
tablegen(LLVM ${ARGN})
endmacro()
# This needs to be a macro since add_public_tablegen_target (which is a
# function) needs to set variables in its parent scope.
macro(swift_add_public_tablegen_target target)
add_public_tablegen_target(${target})
endmacro()