1. Home
  2. Browse
  3. avro-cpp

avro-cpp

v2022-11-07#0Go to latest

Apache Avro is a data serialization system

Install

Run the following Vcpkg command to install the port.

vcpkg install avro-cpp

Usage

The package avro-cpp can be used from CMake via:

find_path(AVROCPP_INCLUDE_DIR avro/Encoder.hh)
find_library(AVROCPP_LIBRARY_DEBUG avrocpp PATH_SUFFIXES "debug/lib" REQUIRED)
get_filename_component(AVROCPP_ROOT_FIND_DIR ${AVROCPP_INCLUDE_DIR} DIRECTORY)
find_library(AVROCPP_LIBRARY_RELEASE avrocpp PATHS "${AVROCPP_ROOT_FIND_DIR}/lib/" REQUIRED NO_DEFAULT_PATH)
target_include_directories(main PRIVATE "${AVROCPP_INCLUDE_DIR}")
target_link_libraries(main PRIVATE optimized "${AVROCPP_LIBRARY_RELEASE}" debug "${AVROCPP_LIBRARY_DEBUG}")

Features

Dependencies

See source

Version

v2022-11-07#0

Publication

Supports

!(windows & static)

GitHub

apache/avro

Homepage

github.com/apache/avro

Subtree

7432ae01e9

License

Apache-2.0

Definition

Manifest