blob: d8d80f07d157c5d24a46ca4e0e74c45ba98761b6 [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(SWIFT ${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()