meta data for this page
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
programming:c:ceedling [2021/04/22 11:10] – niziak | programming:c:ceedling [2021/04/22 12:02] – niziak | ||
---|---|---|---|
Line 4: | Line 4: | ||
===== add .c file ===== | ===== add .c file ===== | ||
- | When ceedling fails to pickup automatically .c file it can be added to given test by | + | When '' |
<code c> | <code c> | ||
TEST_FILE(" | TEST_FILE(" | ||
Line 14: | Line 14: | ||
All dependent includes needs to be added manually in test '' | All dependent includes needs to be added manually in test '' | ||
- | To automatically add linked resources there is a project option: | + | This is desired behavior because '' |
- | < | + | Perhaps you should break dependency chain by including mocked header. |
- | :project: | + | |
- | :auto_link_deep_dependencies: | + | < |
+ | # This will include 20 another headers | ||
+ | |||
+ | #include " | ||
+ | |||
+ | # To prevent this: | ||
+ | #include " | ||
</ | </ | ||
- | But it has impact on performance. | + | |