I have a C module, and the path of this module is under:
:source:
- ../../source/**I want to modify and use the header file abcdef.h of the source code abcdef.c located in this path.
When compiling the code with my compiler, I want to use the original abcdef.h. When running tests with Ceedling, I want to use my modified abcdef.h because it contains many configurations, and I need to manipulate these to test the code fully.
To solve this, I added my header file to the support folder. I understood that the settings in my support folder are valid before each running test function, but I saw that the old header is used when the related function is called in the test function.
Is there any way to do this?
--
You received this message because you are subscribed to the Google Groups "ThrowTheSwitch Forums" group.
To unsubscribe from this group and stop receiving emails from it, send an email to throwtheswitc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/throwtheswitch/f7421232-b01d-4a04-9719-6a7755d1996en%40googlegroups.com.
Great ! How did you fix it ?
To view this discussion on the web visit https://groups.google.com/d/msgid/throwtheswitch/a83d18bc-f9e5-41ab-bb14-8817b2b1b26en%40googlegroups.com.