John Ericson 0a3d946e7b [libc][cmake] Make add_tablegen calls match others
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
2022-01-24 18:36:37 +00:00

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)