File anjay_config.h
↰ Parent directory (include_public/anjay)
Definition (include_public/anjay/anjay_config.h)
Detailed Description
Anjay library configuration.
The preferred way to compile Anjay 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 Anjay by other means, in which case this file will need to be provided manually.
None
Anjay requires the following avs_coap options to be enabled:
WITH_AVS_COAP_UDPand/orWITH_AVS_COAP_TCPWITH_AVS_COAP_STREAMING_APIWITH_AVS_COAP_BLOCKis highly recommendedWITH_AVS_COAP_OBSERVE(ifANJAY_WITH_OBSERVEis enabled)WITH_AVS_COAP_OSCORE(ifANJAY_WITH_COAP_OSCOREis enabled, available only as a commercial feature)
Anjay requires the following avs_commons components to be enabled:
All components required by avs_coap, see
avs_coap_config.havs_algorithmavs_streamavs_urlavs_persistenceis highly recommendedavs_http(ifANJAY_WITH_HTTP_DOWNLOADis enabled)avs_rbtreeoravs_sorted_set(ifANJAY_WITH_OBSERVEorANJAY_WITH_MODULE_ACCESS_CONTROLis enabled)
In the repository, this file is provided as anjay_config.h.in, intended to be processed by CMake. If editing this file manually, please copy or rename it to anjay_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.