Revert "Revert "CMock can now compile without setjmp.h present on the platform""

This reverts commit 3eccb8e3d4.
This commit is contained in:
Mark VanderVoord
2021-01-29 10:06:08 -05:00
parent 73fd65928c
commit 325b6b333a
4 changed files with 16 additions and 2 deletions
+7
View File
@@ -477,6 +477,13 @@ from the defaults. We've tried to specify what the defaults are below.
* default: `['(?:__attribute__\s*\(+.*?\)+)']`
* `:exclude_setjmp_h`:
Some embedded systems don't have <setjmp.h> available. Setting this to true
removes references to this header file and the ability to use cexception.
* default: false
* `:subdir`:
This is a relative subdirectory for your mocks. Set this to e.g. "sys" in
order to create a mock for `sys/types.h` in `(:mock_path)/sys/`.