News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Adding multiple paths to search for header files

Started by 16BitBilly, March 23, 2015, 07:03:18 PM

Previous topic - Next topic

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.

I love my girlfriend like c++!    :-)

[url="http://pan.baidu.com/s/1feNwU"]http://pan.baidu.com/s/1feNwU[/url]
easilygcc is a gmail's email.