User forums > Using Code::Blocks

Adding multiple paths to search for header files

(1/1)

16BitBilly:
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".
 

Chun Jiu:
Manually add each sub-path to search directories.

Navigation

[0] Message Index

Go to full version