Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » include softpack header files in a project(include header files without the need to specify the entirely path of them)
include softpack header files in a project [message #1782160] Mon, 19 February 2018 17:41
Etienne 2D is currently offline Etienne 2DFriend
Messages: 1
Registered: February 2018
Junior Member
Hello everyone,

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 properties
-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

regards
Previous Topic:[DSF] Is there a class to represents a GDB/MI Session
Next Topic:Code beautify with Eclipse
Goto Forum:
  


Current Time: Fri Apr 26 23:48:09 GMT 2024

Powered by FUDForum. Page generated in 0.10315 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top