Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: 16BitBilly on March 23, 2015, 07:03:18 pm

Title: Adding multiple paths to search for header files
Post by: 16BitBilly on March 23, 2015, 07:03:18 pm
Suppose I have a directory structure as shown below. MyProject contains multiple sub-projects and each sub-project has  multiple header files in it.

MyProject
---MySubProjA
---MySubProjB
---MySubProjC
---MySubProjD
---MySubProjE
---MySubProjF
....
....

Now suppose I am working on a project that require header files from sub-projects A,B,C,D,E,F,G,... Z. I know how to include each sub-project individually so that the relevant header file can be found. Is there a way for me to tell codeblocks that "MyProject has multiple sub-directories in it keep on searching each sub-directory until you find the header file".
 
Title: Re: Adding multiple paths to search for header files
Post by: Chun Jiu on March 25, 2015, 02:14:11 pm
Manually add each sub-path to search directories.