branch | build status | coverage |
---|---|---|
master | ||
develop |
The following definitions might be set by the user, depending on the needs.
definition | values | default | description |
---|---|---|---|
ENABLE_DET |
ON /OFF |
ON |
enables/disables development error detections (see AUTOSAR DET module) |
ENABLE_TEST |
ON /OFF |
ON |
enables/disables tests. if enabled, stubbbed headers are used, and CANTP_BUILD_CFFI_INTERFACE preprocessor definition is set to STD_ON |
ENABLE_SCA |
ON /OFF |
OFF |
enables/disables generation of targets related to static code analysis (should be disabled if lint software is not available) |
MISRA_C_VERSION |
1998 /2004 /2012 |
2012 |
specifies which version of MISRA should be used when performing static code analysis (only used if ENABLE_SCA is set) |
CANTP_CONFIG_FILEPATH |
- |
CanTp/config/can_tp.json |
specifies which json configuration file should be used to generate the auto-generated code |
OUTPUT_LIB_NAME |
- |
CanTp |
specifies the library's name |
ENABLE_DOC |
ON /OFF |
OFF |
enables/disables generation of Doxygen documentation |
To use this feature, simply add -D<definition>=<value>
when configuring the build with CMake.