|include softpack header files in a project [message #1782160]
||Mon, 19 February 2018 17:41
| Etienne 2D
Registered: February 2018
I need your help and your advices.
I have recently downloaded eclipse and I use a Cross GCC toolchain.
I have a soft pack from microchip with a lot of header files and C source codes in different sub folders .
I would like to create a C project and use the different headers files of this softpack in the project. I managed to put the softpack in the C project includes folder by doing:
-right click on the project
-select path and sympols
-select GNU , include, add my package (choosing file system), apply and close
It worked but in the main.c of my project, for each header files which is called i have to precisely specify its path, header files which call others header files and so on.
It will be a very long process to specify the path for all of them.
Is there a way to use the softpack in a way which once a header file is called it automatically finds itself the header files in the sub folder, without the need to specify each path in the main.c ??
Thank to all of you
Powered by FUDForum
. Page generated in 0.01409 seconds