in all the other `add_tablegen` calls, the project name is so transformed so it can be a prefix of a CMake variable. I think it is better to do do that here too for consistency. Reviewed By: sivachandra Differential Revision: https://reviews.llvm.org/D117979
9 lines
223 B
CMake
9 lines
223 B
CMake
set(LLVM_LINK_COMPONENTS Support)
|
|
|
|
add_tablegen(libc-wrappergen LLVM_LIBC
|
|
Main.cpp
|
|
)
|
|
|
|
target_include_directories(libc-wrappergen PRIVATE ${LIBC_SOURCE_DIR})
|
|
target_link_libraries(libc-wrappergen PRIVATE LibcTableGenUtil)
|