mirror of
https://github.com/ThrowTheSwitch/CMock.git
synced 2026-10-19 07:07:58 +00:00
More configuration options for weak symbols
This commit is contained in:
@@ -287,8 +287,9 @@ Defined in the yaml file, they look more like this:
|
||||
* `:mock_suffix`:
|
||||
The suffix to append to your mock files. Defaults to “”.
|
||||
|
||||
* `:weak_mocks`:
|
||||
When set to true, the generated mocks are defined as weak symbols. Defaults to false.
|
||||
* `:weak`:
|
||||
When set to some value, the generated mocks are defined as weak symbols using the configured format. Defaults to ''.
|
||||
Set to '__attribute ((weak))' for weak mocks when using GCC. Set to any non-empty string for weak mocks when using IAR.
|
||||
|
||||
* `:subdir`:
|
||||
Relative subdir for your mocks. Set this to e.g. "sys" in order to
|
||||
|
||||
Reference in New Issue
Block a user