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_UDP and/or WITH_AVS_COAP_TCP

  • WITH_AVS_COAP_STREAMING_API

  • WITH_AVS_COAP_BLOCK is highly recommended

  • WITH_AVS_COAP_OBSERVE (if ANJAY_WITH_OBSERVE is enabled)

  • WITH_AVS_COAP_OSCORE (if ANJAY_WITH_COAP_OSCORE is 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.h

  • avs_algorithm

  • avs_stream

  • avs_url

  • avs_persistence is highly recommended

  • avs_http (if ANJAY_WITH_HTTP_DOWNLOAD is enabled)

  • avs_rbtree or avs_sorted_set (if ANJAY_WITH_OBSERVE or ANJAY_WITH_MODULE_ACCESS_CONTROL is 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.

Included By

Defines