flatcc/0.6.1

C language binding for Flatbuffers, an efficient cross platform serialization library
Recipe info
2023-12-23

Available packages
Linux
Windows
macOS
macOS Apple Silicon

Install
Add the following line to your conanfile.txt:
[requires]
flatcc/0.6.1

Using flatcc

Note

If you are new with Conan, we recommend to read the section how to consume packages.

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]
flatcc/0.6.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("flatcc/0.6.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): flatcc
  • CMake target name(s): flatcc::flatcc
  • pkg-config file name(s): flatcc.pc

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

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

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

#include "flatcc/flatcc.h"
#include "flatcc/flatcc_accessors.h"
#include "flatcc/flatcc_alloc.h"
#include "flatcc/flatcc_assert.h"
#include "flatcc/flatcc_builder.h"
#include "flatcc/flatcc_emitter.h"
#include "flatcc/flatcc_endian.h"
#include "flatcc/flatcc_epilogue.h"
#include "flatcc/flatcc_flatbuffers.h"
#include "flatcc/flatcc_identifier.h"
#include "flatcc/flatcc_iov.h"
#include "flatcc/flatcc_json_parser.h"
#include "flatcc/flatcc_json_printer.h"
#include "flatcc/flatcc_portable.h"
#include "flatcc/flatcc_prologue.h"
#include "flatcc/flatcc_refmap.h"
#include "flatcc/flatcc_rtconfig.h"
#include "flatcc/flatcc_types.h"
#include "flatcc/flatcc_unaligned.h"
#include "flatcc/flatcc_verifier.h"
#include "flatcc/flatcc_version.h"
#include "flatcc/portable/LICENSE"
#include "flatcc/portable/README.md"
#include "flatcc/portable/grisu3_math.h"
#include "flatcc/portable/grisu3_parse.h"
#include "flatcc/portable/grisu3_print.h"
#include "flatcc/portable/include/README"
#include "flatcc/portable/include/linux/endian.h"
#include "flatcc/portable/include/std/inttypes.h"
#include "flatcc/portable/include/std/stdalign.h"
#include "flatcc/portable/include/std/stdbool.h"
#include "flatcc/portable/include/std/stdint.h"
#include "flatcc/portable/paligned_alloc.h"
#include "flatcc/portable/pattributes.h"
#include "flatcc/portable/pbase64.h"
#include "flatcc/portable/pcrt.h"
#include "flatcc/portable/pdiagnostic.h"
#include "flatcc/portable/pdiagnostic_pop.h"
#include "flatcc/portable/pdiagnostic_push.h"
#include "flatcc/portable/pendian.h"
#include "flatcc/portable/pendian_detect.h"
#include "flatcc/portable/pinline.h"
#include "flatcc/portable/pinttypes.h"
#include "flatcc/portable/portable.h"
#include "flatcc/portable/portable_basic.h"
#include "flatcc/portable/pparsefp.h"
#include "flatcc/portable/pparseint.h"
#include "flatcc/portable/pprintfp.h"
#include "flatcc/portable/pprintint.h"
#include "flatcc/portable/pstatic_assert.h"
#include "flatcc/portable/pstatic_assert_scope.h"
#include "flatcc/portable/pstdalign.h"
#include "flatcc/portable/pstdbool.h"
#include "flatcc/portable/pstdint.h"
#include "flatcc/portable/punaligned.h"
#include "flatcc/portable/pversion.h"
#include "flatcc/portable/pwarnings.h"
#include "flatcc/reflection/README"
#include "flatcc/reflection/flatbuffers_common_builder.h"
#include "flatcc/reflection/flatbuffers_common_reader.h"
#include "flatcc/reflection/reflection_builder.h"
#include "flatcc/reflection/reflection_reader.h"
#include "flatcc/reflection/reflection_verifier.h"
#include "flatcc/support/README"
#include "flatcc/support/cdump.h"
#include "flatcc/support/elapsed.h"
#include "flatcc/support/hexdump.h"
#include "flatcc/support/readfile.h"