Setup and Integration#
libaes70 is a header-only library. It is therefore sufficient in principle to add the include
directory of the library repository to the compiler include path. Note that this version of libaes70
requires C++ 17. Previous versions of libaes70 only required C++ 11. Note that libaes70 may optionally
support features from more recent versions of C++ if they are available. For example, if std::span is
available, it will be supported by the OCP.1 implementation.
libaes70 also contains a CMakeLists.txt file that allows it to be integrated when using
cmake. Most examples use cmake as a build system; check the examples folder
for how to integrate libaes70 using cmake.
Optional helpers for libuv, Boost.Asio, lwIP, TLS libraries, HTTP parsers, and similar are described under Third-party libraries. Those libraries are not included with libaes70.
Shadow warnings#
Local names in library headers may trigger shadow warnings (MSVC C4459,
GCC/Clang -Wshadow) when they collide with names in the including translation unit. These are
rarely actionable in a header-only library; disable them for targets that include libaes70
(e.g. MSVC /wd4459, GCC/Clang -Wno-shadow).
Integrating simpleoca#
Simpleoca is available as a library in the simpleoca folder. When using libaes70 in a cmake project,
the AES70_BUILD_SIMPLEOCA option must be enabled for simpleoca to be made available.
See the documentation for simpleoca for more details.