libavrocpp/1.11.1

Avro is a data serialization system.
Recipe info
2023-01-15

Install
Add the following line to your conanfile.txt:
[requires]
libavrocpp/1.11.1

Using libavrocpp

Note

If you are a new Conan user, we recommend reading the how to consume packages tutorial.

If you need additional assistance, please ask a question in the Conan Center Index repository.

Simplest use case consuming this recipe and assuming CMake as your local build tool:

[requires]
libavrocpp/1.11.1
[generators]
CMakeDeps
CMakeToolchain
[layout]
cmake_layout
from conan import ConanFile
from conan.tools.cmake import cmake_layout


class ExampleRecipe(ConanFile):
    settings = "os", "compiler", "build_type", "arch"
    generators = "CMakeDeps", "CMakeToolchain"

    def requirements(self):
        self.requires("libavrocpp/1.11.1")

    def layout(self):
        cmake_layout(self)

Now, you can run this Conan command to locally install (and build if necessary) this recipe and its dependencies (if any):

$ conan install conanfile.txt --build=missing

Useful information to take into account to consume this library:


These are the main declared targets:

  • CMake package name(s): libavrocpp
  • CMake target name(s): libavrocpp::libavrocpp
  • pkg-config file name(s): libavrocpp.pc

A simple use case using the CMake file name and the global target:

# ...
find_package(libavrocpp REQUIRED)
# ...
target_link_libraries(YOUR_TARGET libavrocpp::libavrocpp)

These are all the available headers. Some of these ones might be non-public; make sure of it by visiting the libavrocpp homepage listed above:

#include "avro/AvroParse.hh"
#include "avro/AvroSerialize.hh"
#include "avro/AvroTraits.hh"
#include "avro/Compiler.hh"
#include "avro/Config.hh"
#include "avro/CustomAttributes.hh"
#include "avro/DataFile.hh"
#include "avro/Decoder.hh"
#include "avro/Encoder.hh"
#include "avro/Exception.hh"
#include "avro/Generic.hh"
#include "avro/GenericDatum.hh"
#include "avro/Layout.hh"
#include "avro/LogicalType.hh"
#include "avro/Node.hh"
#include "avro/NodeConcepts.hh"
#include "avro/NodeImpl.hh"
#include "avro/Parser.hh"
#include "avro/Reader.hh"
#include "avro/Resolver.hh"
#include "avro/ResolverSchema.hh"
#include "avro/ResolvingReader.hh"
#include "avro/Schema.hh"
#include "avro/SchemaResolution.hh"
#include "avro/Serializer.hh"
#include "avro/Specific.hh"
#include "avro/Stream.hh"
#include "avro/Types.hh"
#include "avro/ValidSchema.hh"
#include "avro/Validator.hh"
#include "avro/Writer.hh"
#include "avro/Zigzag.hh"
#include "avro/buffer/Buffer.hh"
#include "avro/buffer/BufferPrint.hh"
#include "avro/buffer/BufferReader.hh"
#include "avro/buffer/BufferStream.hh"
#include "avro/buffer/BufferStreambuf.hh"
#include "avro/buffer/detail/BufferDetail.hh"
#include "avro/buffer/detail/BufferDetailIterator.hh"