brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.7 KiB · 41b20dc Raw
72 lines · plain
1add_header_library(2  message_mapper3  HDRS4    message_mapper.h5  DEPENDS6    libc.src.__support.CPP.array7    libc.src.__support.CPP.string_view8    libc.src.__support.CPP.optional9)10 11# The table maps depend on message_mapper.12add_subdirectory(tables)13 14add_header_library(15  platform_errors16  HDRS17    platform_errors.h18  DEPENDS19    # To avoid complicated conditionals, we will unconditionally add dependency20    # on all platform errors which are included in platform_error_table.h.21    # Ultimately, only the relevent error table will be used.22    .tables.linux_platform_errors23    .tables.minimal_platform_errors24)25 26add_header_library(27  platform_signals28  HDRS29    platform_signals.h30  DEPENDS31    # To avoid complicated conditionals, we will unconditionally add dependency32    # on all platform signals which are included in platform_signal_table.h.33    # Ultimately, only the relevent signal table will be used.34    .tables.linux_platform_signals35    .tables.minimal_platform_signals36)37 38add_object_library(39  error_to_string40  HDRS41    error_to_string.h42  SRCS43    error_to_string.cpp44  DEPENDS45    .message_mapper46    .platform_errors47    libc.src.__support.common48    libc.src.__support.CPP.span49    libc.src.__support.CPP.string_view50    libc.src.__support.CPP.stringstream51    libc.src.__support.integer_to_string52)53 54if(TARGET libc.include.signal)55  add_object_library(56    signal_to_string57    HDRS58      signal_to_string.h59    SRCS60      signal_to_string.cpp61    DEPENDS62      .message_mapper63      .platform_signals64      libc.include.signal65      libc.src.__support.common66      libc.src.__support.CPP.span67      libc.src.__support.CPP.string_view68      libc.src.__support.CPP.stringstream69      libc.src.__support.integer_to_string70  )71endif()72