[flang] Accept polymorphic component element in storage_size
[llvm-project.git] / libc / utils / HdrGen / CMakeLists.txt
blobc68314bb41a0c64b1a4dc09b9384c7ea43f64484
1 include(TableGen)
3 set(LLVM_LINK_COMPONENTS Support)
5 add_tablegen(libc-hdrgen LIBC
6   Command.h
7   Command.cpp
8   Generator.cpp
9   Generator.h
10   IncludeFileCommand.cpp
11   IncludeFileCommand.h
12   Main.cpp
13   PublicAPICommand.cpp
14   PublicAPICommand.h
17 target_include_directories(libc-hdrgen PRIVATE ${LIBC_SOURCE_DIR} ${LLVM_LIBC_INCLUDE_DIRS})
18 target_link_libraries(libc-hdrgen PRIVATE LibcTableGenUtil)
20 add_subdirectory(PrototypeTestGen)