[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / libc / utils / HdrGen / CMakeLists.txt
blob0ec1cba542d400d83b1c9a70fd0d2c02c492ba6d
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 ${LLVM_INCLUDE_DIR} ${LLVM_MAIN_INCLUDE_DIR})
18 target_link_libraries(libc-hdrgen PRIVATE LibcTableGenUtil)
20 add_subdirectory(PrototypeTestGen)