File avs_coap_config.h
↰ Parent directory (include_public/avsystem/coap)
Definition (include_public/avsystem/coap/avs_coap_config.h)
Detailed Description
avs_coap library configuration.
The preferred way to compile avs_coap is to use CMake, in which case this file will be generated automatically by CMake.
However, to provide compatibility with various build systems used especially by embedded platforms, it is alternatively supported to compile avs_coap by other means, in which case this file will need to be provided manually.
None
avs_coap requires the following avs_commons components to be enabled:
avs_bufferavs_compat_threadingavs_listavs_netavs_schedavs_streamavs_utilsavs_log(ifWITH_AVS_COAP_LOGSis enabled)avs_persistence(ifWITH_AVS_COAP_OBSERVE_PERSISTENCEis enabled)avs_crypto(ifWITH_AVS_COAP_OSCOREis enabled)
In the repository, this file is provided as avs_coap_config.h.in, intended to be processed by CMake. If editing this file manually, please copy or rename it to avs_coap_config.h and for each of the #cmakedefine directives, please either replace it with regular #define to enable it, or comment it out to disable. You may also need to replace variables wrapped in @ signs with concrete values. Please refer to the comments above each of the specific definition for details.
If you are editing a file previously generated by CMake, these #cmakedefine``s will be already replaced by either ``#define or commented out #undef directives.