File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change 7
7
8
8
set (LLVM_TARGET_DEFINITIONS ${CMAKE_CURRENT_SOURCE_DIR} /OffloadAPI.td )
9
9
set (files_to_copy "" )
10
+ file (MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} /generated )
10
11
11
12
macro (offload_tablegen file )
12
13
tablegen (OFFLOAD generated /${file}.gen ${ARGN} )
Original file line number Diff line number Diff line change 1
1
# The error codes in this header are shared with liboffload, so need to be
2
2
# generated from the same source.
3
3
include (TableGen )
4
+ file (MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} /include )
4
5
set (LLVM_TARGET_DEFINITIONS ${CMAKE_CURRENT_SOURCE_DIR} /../../liboffload/API/OffloadAPI.td )
5
6
tablegen (OFFLOAD include /OffloadErrcodes.inc -gen-errcodes -I ${CMAKE_CURRENT_SOURCE_DIR} /../../liboffload/API )
6
7
add_public_tablegen_target (PluginErrcodes )
You can’t perform that action at this time.
0 commit comments