Auto-generate CMake file lists

pull/13171/head
Protobuf Team Bot 2 years ago
parent 6d9e1eb91c
commit 38d63f21f6
  1. 580
      cmake/CMakeLists.txt
  2. 931
      cmake/google/protobuf/descriptor.upb.c
  3. 4283
      cmake/google/protobuf/descriptor.upb.h

@ -1,15 +1,6 @@
# This file was generated from BUILD using tools/make_cmakelists.py. # This file was generated from BUILD using tools/make_cmakelists.py.
cmake_minimum_required(VERSION 3.1) cmake_minimum_required(VERSION 3.10...3.24)
if(${CMAKE_VERSION} VERSION_LESS 3.12)
cmake_policy(VERSION ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION})
else()
cmake_policy(VERSION 3.12)
endif()
cmake_minimum_required (VERSION 3.0)
cmake_policy(SET CMP0048 NEW)
project(upb) project(upb)
set(CMAKE_C_STANDARD 99) set(CMAKE_C_STANDARD 99)
@ -49,40 +40,23 @@ if(UPB_ENABLE_UBSAN)
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -fsanitize=address") set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -fsanitize=address")
endif() endif()
include_directories(..) if(NOT TARGET utf8_range)
include_directories(../cmake) if(EXISTS ../external/utf8_range)
include_directories(${CMAKE_CURRENT_BINARY_DIR}) # utf8_range is already installed
include_directories(../external/utf8_range)
if(EXISTS ../external/utf8_range) else()
# utf8_range is already installed include(FetchContent)
include_directories(../external/utf8_range) FetchContent_Declare(
else() utf8_range
include(FetchContent) GIT_REPOSITORY "https://github.com/protocolbuffers/utf8_range.git"
FetchContent_Declare( GIT_TAG "de0b4a8ff9b5d4c98108bdfe723291a33c52c54f"
utf8_range )
GIT_REPOSITORY "https://github.com/protocolbuffers/utf8_range.git" FetchContent_GetProperties(utf8_range)
GIT_TAG "de0b4a8ff9b5d4c98108bdfe723291a33c52c54f" if(NOT utf8_range_POPULATED)
) FetchContent_Populate(utf8_range)
FetchContent_GetProperties(utf8_range) include_directories(${utf8_range_SOURCE_DIR})
if(NOT utf8_range_POPULATED) endif()
FetchContent_Populate(utf8_range)
include_directories(${utf8_range_SOURCE_DIR})
endif() endif()
#FetchContent_MakeAvailable(utf8_range)
#include_directories(${utf8_range_SOURCE_DIR})
#
#include(ExternalProject)
#ExternalProject_Add(utf8_range
# PREFIX ${CMAKE_BINARY_DIR}/external
# GIT_REPOSITORY "https://github.com/protocolbuffers/utf8_range.git"
# GIT_TAG "de0b4a8ff9b5d4c98108bdfe723291a33c52c54f"
# SOURCE_DIR ${CMAKE_BINARY_DIR}/external/utf8_range
# UPDATE_COMMAND ""
# PATCH_COMMAND ""
# CONFIGURE_COMMAND ""
# BUILD_COMMAND ""
# BUILD_BYPRODUCTS ${CMAKE_BINARY_DIR}/external/utf8_range/utf8_range.h)
#include_directories(${CMAKE_BINARY_DIR}/external/utf8_range)
endif() endif()
if(APPLE) if(APPLE)
@ -93,8 +67,24 @@ endif()
enable_testing() enable_testing()
add_library(port INTERFACE)
add_library(upb INTERFACE) add_library(port INTERFACE
)
target_include_directories(port INTERFACE
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/..>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../cmake>
$<BUILD_INTERFACE:${CMAKE_CURRENT_BINRARY_DIR}>
)
add_library(upb INTERFACE
)
target_include_directories(upb INTERFACE
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/..>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../cmake>
$<BUILD_INTERFACE:${CMAKE_CURRENT_BINRARY_DIR}>
)
target_link_libraries(upb INTERFACE target_link_libraries(upb INTERFACE
base base
collections_internal collections_internal
@ -103,111 +93,245 @@ target_link_libraries(upb INTERFACE
lex lex
mem mem
message_internal message_internal
mini_table_internal
port port
wire) wire
add_library(base /upb/mini_table)
../upb/base/status.c
add_library(base
../upb/base/status.c
../upb/base/descriptor_constants.h ../upb/base/descriptor_constants.h
../upb/base/log2.h ../upb/base/log2.h
../upb/base/status.h ../upb/base/status.h
../upb/base/string_view.h) ../upb/base/string_view.h
)
target_include_directories(base PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/..>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../cmake>
$<BUILD_INTERFACE:${CMAKE_CURRENT_BINRARY_DIR}>
)
target_link_libraries(base target_link_libraries(base
port) port)
add_library(mini_table INTERFACE)
target_link_libraries(mini_table INTERFACE add_library(message INTERFACE
base
mem )
mini_table_internal target_include_directories(message INTERFACE
port) $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/..>
add_library(mini_table_internal $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../cmake>
../upb/mini_table/common.c $<BUILD_INTERFACE:${CMAKE_CURRENT_BINRARY_DIR}>
../upb/mini_table/decode.c )
../upb/mini_table/encode.c
../upb/mini_table/extension_registry.c
../upb/mini_table/common.h
../upb/mini_table/common_internal.h
../upb/mini_table/decode.h
../upb/mini_table/encode_internal.h
../upb/mini_table/encode_internal.hpp
../upb/mini_table/enum_internal.h
../upb/mini_table/extension_internal.h
../upb/mini_table/extension_registry.h
../upb/mini_table/field_internal.h
../upb/mini_table/file_internal.h
../upb/mini_table/message_internal.h
../upb/mini_table/sub_internal.h
../upb/mini_table/types.h)
target_link_libraries(mini_table_internal
base
hash
mem
port)
add_library(message INTERFACE)
target_link_libraries(message INTERFACE target_link_libraries(message INTERFACE
mem mem
message_internal message_internal
mini_table port
port) /upb/mini_table)
add_library(message_internal
../upb/message/message.c add_library(message_internal
../upb/message/message.c
../upb/message/extension_internal.h ../upb/message/extension_internal.h
../upb/message/internal.h ../upb/message/internal.h
../upb/message/message.h) ../upb/message/message.h
)
target_include_directories(message_internal PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/..>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../cmake>
$<BUILD_INTERFACE:${CMAKE_CURRENT_BINRARY_DIR}>
)
target_link_libraries(message_internal target_link_libraries(message_internal
base base
hash hash
mem mem
port
/upb/mini_table)
add_library(message_tagged_ptr INTERFACE
)
target_include_directories(message_tagged_ptr INTERFACE
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/..>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../cmake>
$<BUILD_INTERFACE:${CMAKE_CURRENT_BINRARY_DIR}>
)
target_link_libraries(message_tagged_ptr INTERFACE
port)
add_library(message_accessors_internal INTERFACE
)
target_include_directories(message_accessors_internal INTERFACE
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/..>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../cmake>
$<BUILD_INTERFACE:${CMAKE_CURRENT_BINRARY_DIR}>
)
target_link_libraries(message_accessors_internal INTERFACE
collections_internal
message_internal
mini_table_internal mini_table_internal
port) port)
add_library(message_accessors
../upb/message/accessors.c add_library(message_accessors
../upb/message/accessors.h) ../upb/message/accessors.c
../upb/message/accessors_internal.h
../upb/message/accessors.h
)
target_include_directories(message_accessors PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/..>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../cmake>
$<BUILD_INTERFACE:${CMAKE_CURRENT_BINRARY_DIR}>
)
target_link_libraries(message_accessors target_link_libraries(message_accessors
collections_internal collections_internal
eps_copy_input_stream
message_internal
mini_table
port
upb
wire
wire_reader
/upb/mini_table:internal)
add_library(message_promote
../upb/message/promote.c
../upb/message/promote.h
)
target_include_directories(message_promote PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/..>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../cmake>
$<BUILD_INTERFACE:${CMAKE_CURRENT_BINRARY_DIR}>
)
target_link_libraries(message_promote
collections_internal
eps_copy_input_stream
hash hash
message_accessors
message_internal
port
upb
wire
wire_reader
/upb/mini_table)
add_library(message_copy
../upb/message/copy.c
../upb/message/copy.h
)
target_include_directories(message_copy PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/..>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../cmake>
$<BUILD_INTERFACE:${CMAKE_CURRENT_BINRARY_DIR}>
)
target_link_libraries(message_copy
collections_internal
message_accessors
message_internal message_internal
mini_table_internal
port port
upb upb
wire) /upb/mini_table)
add_library(fastdecode INTERFACE)
add_library(message_split64 INTERFACE
)
target_include_directories(message_split64 INTERFACE
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/..>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../cmake>
$<BUILD_INTERFACE:${CMAKE_CURRENT_BINRARY_DIR}>
)
target_link_libraries(message_split64 INTERFACE
message_accessors
port)
add_library(fastdecode INTERFACE
)
target_include_directories(fastdecode INTERFACE
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/..>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../cmake>
$<BUILD_INTERFACE:${CMAKE_CURRENT_BINRARY_DIR}>
)
target_link_libraries(fastdecode INTERFACE target_link_libraries(fastdecode INTERFACE
base base
collections_internal collections_internal
hash hash
mem_internal mem_internal
message_internal message_internal
mini_table_internal
port port
wire) wire
add_library(generated_code_support__only_for_generated_code_do_not_use__i_give_permission_to_break_me INTERFACE) /upb/mini_table)
add_library(generated_code_support__only_for_generated_code_do_not_use__i_give_permission_to_break_me INTERFACE
)
target_include_directories(generated_code_support__only_for_generated_code_do_not_use__i_give_permission_to_break_me INTERFACE
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/..>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../cmake>
$<BUILD_INTERFACE:${CMAKE_CURRENT_BINRARY_DIR}>
)
target_link_libraries(generated_code_support__only_for_generated_code_do_not_use__i_give_permission_to_break_me INTERFACE target_link_libraries(generated_code_support__only_for_generated_code_do_not_use__i_give_permission_to_break_me INTERFACE
base
collections_internal collections_internal
hash message_accessors
upb) message_accessors_internal
add_library(generated_cpp_support__only_for_generated_code_do_not_use__i_give_permission_to_break_me INTERFACE) message_internal
upb
wire_internal
/upb/mini_descriptor
/upb/mini_table)
add_library(generated_cpp_support__only_for_generated_code_do_not_use__i_give_permission_to_break_me INTERFACE
)
target_include_directories(generated_cpp_support__only_for_generated_code_do_not_use__i_give_permission_to_break_me INTERFACE
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/..>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../cmake>
$<BUILD_INTERFACE:${CMAKE_CURRENT_BINRARY_DIR}>
)
target_link_libraries(generated_cpp_support__only_for_generated_code_do_not_use__i_give_permission_to_break_me INTERFACE target_link_libraries(generated_cpp_support__only_for_generated_code_do_not_use__i_give_permission_to_break_me INTERFACE
base base
collections_internal collections_internal
hash hash
mini_table message_copy
upb) upb
add_library(generated_reflection_support__only_for_generated_code_do_not_use__i_give_permission_to_break_me INTERFACE) /upb/mini_table)
add_library(generated_reflection_support__only_for_generated_code_do_not_use__i_give_permission_to_break_me INTERFACE
)
target_include_directories(generated_reflection_support__only_for_generated_code_do_not_use__i_give_permission_to_break_me INTERFACE
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/..>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../cmake>
$<BUILD_INTERFACE:${CMAKE_CURRENT_BINRARY_DIR}>
)
target_link_libraries(generated_reflection_support__only_for_generated_code_do_not_use__i_give_permission_to_break_me INTERFACE target_link_libraries(generated_reflection_support__only_for_generated_code_do_not_use__i_give_permission_to_break_me INTERFACE
base reflection_internal
descriptor_upb_proto /upb/mini_descriptor)
hash
reflection_internal) add_library(collections INTERFACE
add_library(collections INTERFACE)
)
target_include_directories(collections INTERFACE
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/..>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../cmake>
$<BUILD_INTERFACE:${CMAKE_CURRENT_BINRARY_DIR}>
)
target_link_libraries(collections INTERFACE target_link_libraries(collections INTERFACE
base base
collections_internal collections_internal
mem mem
port) port)
add_library(collections_internal
../upb/collections/array.c add_library(message_rep_internal INTERFACE
)
target_include_directories(message_rep_internal INTERFACE
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/..>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../cmake>
$<BUILD_INTERFACE:${CMAKE_CURRENT_BINRARY_DIR}>
)
target_link_libraries(message_rep_internal INTERFACE
base
hash)
add_library(collections_internal
../upb/collections/array.c
../upb/collections/map.c ../upb/collections/map.c
../upb/collections/map_sorter.c ../upb/collections/map_sorter.c
../upb/collections/array.h ../upb/collections/array.h
@ -216,156 +340,196 @@ add_library(collections_internal
../upb/collections/map_gencode_util.h ../upb/collections/map_gencode_util.h
../upb/collections/map_internal.h ../upb/collections/map_internal.h
../upb/collections/map_sorter_internal.h ../upb/collections/map_sorter_internal.h
../upb/collections/message_value.h) ../upb/collections/message_value.h
)
target_include_directories(collections_internal PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/..>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../cmake>
$<BUILD_INTERFACE:${CMAKE_CURRENT_BINRARY_DIR}>
)
target_link_libraries(collections_internal target_link_libraries(collections_internal
base base
hash hash
mem mem
mini_table_internal message_internal
port) message_rep_internal
add_library(reflection INTERFACE) message_tagged_ptr
target_link_libraries(reflection INTERFACE
collections
port port
reflection_internal /upb/mini_table)
upb)
add_library(reflection_internal add_library(collections_split64 INTERFACE
../upb/reflection/def_builder.c
../upb/reflection/def_pool.c )
../upb/reflection/def_type.c target_include_directories(collections_split64 INTERFACE
../upb/reflection/desc_state.c $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/..>
../upb/reflection/enum_def.c $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../cmake>
../upb/reflection/enum_reserved_range.c $<BUILD_INTERFACE:${CMAKE_CURRENT_BINRARY_DIR}>
../upb/reflection/enum_value_def.c )
../upb/reflection/extension_range.c target_link_libraries(collections_split64 INTERFACE
../upb/reflection/field_def.c
../upb/reflection/file_def.c
../upb/reflection/message.c
../upb/reflection/message_def.c
../upb/reflection/message_reserved_range.c
../upb/reflection/method_def.c
../upb/reflection/oneof_def.c
../upb/reflection/service_def.c
../upb/reflection/common.h
../upb/reflection/def.h
../upb/reflection/def.hpp
../upb/reflection/def_builder_internal.h
../upb/reflection/def_pool.h
../upb/reflection/def_pool_internal.h
../upb/reflection/def_type.h
../upb/reflection/desc_state_internal.h
../upb/reflection/enum_def.h
../upb/reflection/enum_def_internal.h
../upb/reflection/enum_reserved_range.h
../upb/reflection/enum_reserved_range_internal.h
../upb/reflection/enum_value_def.h
../upb/reflection/enum_value_def_internal.h
../upb/reflection/extension_range.h
../upb/reflection/extension_range_internal.h
../upb/reflection/field_def.h
../upb/reflection/field_def_internal.h
../upb/reflection/file_def.h
../upb/reflection/file_def_internal.h
../upb/reflection/message.h
../upb/reflection/message.hpp
../upb/reflection/message_def.h
../upb/reflection/message_def_internal.h
../upb/reflection/message_reserved_range.h
../upb/reflection/message_reserved_range_internal.h
../upb/reflection/method_def.h
../upb/reflection/method_def_internal.h
../upb/reflection/oneof_def.h
../upb/reflection/oneof_def_internal.h
../upb/reflection/service_def.h
../upb/reflection/service_def_internal.h)
target_link_libraries(reflection_internal
collections collections
descriptor_upb_proto port)
hash
message_accessors add_library(textformat
mini_table_internal ../upb/text/encode.c
port
upb)
add_library(textformat
../upb/text/encode.c
../upb/text/encode.h ../upb/text/encode.h
../upb/text_encode.h) ../upb/text_encode.h
)
target_include_directories(textformat PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/..>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../cmake>
$<BUILD_INTERFACE:${CMAKE_CURRENT_BINRARY_DIR}>
)
target_link_libraries(textformat target_link_libraries(textformat
collections_internal collections_internal
eps_copy_input_stream
lex lex
port port
reflection reflection
wire) wire
add_library(json wire_reader
../upb/json/decode.c wire_types)
../upb/json/encode.c
../upb/json/decode.h add_library(mem INTERFACE
../upb/json/encode.h
../upb/json_decode.h )
../upb/json_encode.h) target_include_directories(mem INTERFACE
target_link_libraries(json $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/..>
collections $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../cmake>
lex $<BUILD_INTERFACE:${CMAKE_CURRENT_BINRARY_DIR}>
port )
reflection
upb)
add_library(mem INTERFACE)
target_link_libraries(mem INTERFACE target_link_libraries(mem INTERFACE
mem_internal mem_internal
port) port)
add_library(mem_internal
../upb/mem/alloc.c add_library(mem_internal
../upb/mem/alloc.c
../upb/mem/arena.c ../upb/mem/arena.c
../upb/mem/alloc.h ../upb/mem/alloc.h
../upb/mem/arena.h ../upb/mem/arena.h
../upb/mem/arena_internal.h) ../upb/mem/arena_internal.h
)
target_include_directories(mem_internal PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/..>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../cmake>
$<BUILD_INTERFACE:${CMAKE_CURRENT_BINRARY_DIR}>
)
target_link_libraries(mem_internal target_link_libraries(mem_internal
port) port)
add_library(wire INTERFACE)
add_library(wire INTERFACE
)
target_include_directories(wire INTERFACE
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/..>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../cmake>
$<BUILD_INTERFACE:${CMAKE_CURRENT_BINRARY_DIR}>
)
target_link_libraries(wire INTERFACE target_link_libraries(wire INTERFACE
mem mem
message_internal message_internal
mini_table_internal
port port
wire_internal) wire_internal
add_library(wire_internal /upb/mini_table)
../upb/wire/decode.c
add_library(wire_internal
../upb/wire/decode.c
../upb/wire/decode_fast.c ../upb/wire/decode_fast.c
../upb/wire/encode.c ../upb/wire/encode.c
../upb/wire/common.h
../upb/wire/common_internal.h ../upb/wire/common_internal.h
../upb/wire/decode.h ../upb/wire/decode.h
../upb/wire/decode_fast.h ../upb/wire/decode_fast.h
../upb/wire/decode_internal.h ../upb/wire/decode_internal.h
../upb/wire/encode.h ../upb/wire/encode.h
../upb/wire/swap_internal.h ../upb/wire/swap_internal.h
../upb/wire/types.h) )
target_include_directories(wire_internal PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/..>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../cmake>
$<BUILD_INTERFACE:${CMAKE_CURRENT_BINRARY_DIR}>
)
target_link_libraries(wire_internal target_link_libraries(wire_internal
base base
collections_internal collections_internal
hash eps_copy_input_stream
mem_internal mem_internal
message_accessors_internal
message_internal message_internal
mini_table_internal message_rep_internal
port port
utf8_range//:utf8_range) wire_reader
add_library(hash wire_types
../upb/hash/common.c /upb/mini_table
utf8_range)
add_library(wire_types INTERFACE
)
target_include_directories(wire_types INTERFACE
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/..>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../cmake>
$<BUILD_INTERFACE:${CMAKE_CURRENT_BINRARY_DIR}>
)
add_library(eps_copy_input_stream
../upb/wire/eps_copy_input_stream.c
../upb/wire/eps_copy_input_stream.h
)
target_include_directories(eps_copy_input_stream PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/..>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../cmake>
$<BUILD_INTERFACE:${CMAKE_CURRENT_BINRARY_DIR}>
)
target_link_libraries(eps_copy_input_stream
mem
port)
add_library(wire_reader
../upb/wire/reader.c
../upb/wire/swap_internal.h
../upb/wire/reader.h
)
target_include_directories(wire_reader PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/..>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../cmake>
$<BUILD_INTERFACE:${CMAKE_CURRENT_BINRARY_DIR}>
)
target_link_libraries(wire_reader
eps_copy_input_stream
port
wire_types)
add_library(hash
../upb/hash/common.c
../upb/hash/common.h ../upb/hash/common.h
../upb/hash/int_table.h ../upb/hash/int_table.h
../upb/hash/str_table.h) ../upb/hash/str_table.h
)
target_include_directories(hash PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/..>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../cmake>
$<BUILD_INTERFACE:${CMAKE_CURRENT_BINRARY_DIR}>
)
target_link_libraries(hash target_link_libraries(hash
base base
mem mem
port) port)
add_library(lex
../upb/lex/atoi.c add_library(lex
../upb/lex/atoi.c
../upb/lex/round_trip.c ../upb/lex/round_trip.c
../upb/lex/strtod.c ../upb/lex/strtod.c
../upb/lex/unicode.c ../upb/lex/unicode.c
../upb/lex/atoi.h ../upb/lex/atoi.h
../upb/lex/round_trip.h ../upb/lex/round_trip.h
../upb/lex/strtod.h ../upb/lex/strtod.h
../upb/lex/unicode.h) ../upb/lex/unicode.h
)
target_include_directories(lex PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/..>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../cmake>
$<BUILD_INTERFACE:${CMAKE_CURRENT_BINRARY_DIR}>
)
target_link_libraries(lex target_link_libraries(lex
port) port)

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save