More configuration options for weak symbols

This commit is contained in:
Stein Heselmans
2016-10-14 14:46:33 +02:00
parent 6c8054dc34
commit c910393cca
4 changed files with 18 additions and 13 deletions
+3 -2
View File
@@ -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