tftp_common
1.3.0
|
A simple header-only Trivial File Transfer Protocol (TFTP) packets parsing and serialization library.
RFC 1350 (TFTP Protocol Revision 2) compilant, RFC 2347 (TFTP Option Extension) support.
Platform name | Windows | Linux | MacOS |
Minimum required version | 98 | — | — |
Dependency name | Minimum required version | Ubuntu 22.04 |
---|---|---|
C++ | C++17 | sudo apt-get install build-essential |
Doxygen (optional) | — | sudo apt-get install doxygen |
ClangFormat (development, optional) | — | sudo apt-get install clang-format |
path/to/tftp_common/source/root
with the path to the root of your tftp_common source tree: The underlying build tool can be invoked directly, of course, but the –build option is portable.
The –target option with install parameter in addition to the –build option tells cmake to build the install target.
Variables customize how the build will be generated. Options are boolean variables, with possible values ON/OFF. Options and variables are defined on the CMake command line like this:
BUILD_TESTS: BOOL
Adds test build targets as a dependencies of the default build target. Defaults to OFF.
BUILD_EXAMPLES: BOOL
Adds examples build targets as a dependencies of the default build target. Defaults to OFF.
format
target (i.e ninja format
) will run clang-format on all project filescheck-format
target (i.e ninja check-format
) will verify that project's code follows formatting conventionsdocs
target (i.e ninja docs
) will generate documentation using doxygen