Skip to content

:cexception

Configure CException’s features

Exmaple :cmock YAML

:cexception:
  :defines:
    # Enables CException `#include`ing CExceptionConfig.h
    - CEXCEPTION_USE_CONFIG_FILE=1

:defines

List of symbols used to configure CException’s features in its source and header files at compile time.

See Using Unity, CMock & CException for much more on configuring and making use of these frameworks in your build.

To manage overall command line length, these symbols are only added to compilation when a CException C source file is compiled.

Note

No symbols must be set unless CException’s defaults are inappropriate for your environment and needs.

Note CException must be enabled for it to be added to a release or test build and for these symbols to be added to a build of CException (see link referenced earlier for more).

Default: [] (empty)