mirror of
https://github.com/ThrowTheSwitch/CMock.git
synced 2026-08-11 21:57:51 +00:00
add mock_suffix configuration option
Same as mock_prefix configuration option. A suffix is easier to work with, if cmock generation is done from an external GNU makefile.
This commit is contained in:
@@ -284,6 +284,9 @@ Defined in the yaml file, they look more like this:
|
||||
The prefix to append to your mock files. Defaults to “Mock”, so a file
|
||||
“USART.h” will get a mock called “MockUSART.c”
|
||||
|
||||
* `:mock_suffix`:
|
||||
The suffix to append to your mock files. Defaults to “”.
|
||||
|
||||
* `:subdir`:
|
||||
Relative subdir for your mocks. Set this to e.g. "sys" in order to
|
||||
create mock for `sys/types.h` in `:mock_path`/sys/
|
||||
|
||||
Reference in New Issue
Block a user