Author Topic: Adding multiple paths to search for header files  (Read 2905 times)

Offline 16BitBilly

  • Multiple posting newcomer
  • *
  • Posts: 13
Adding multiple paths to search for header files
« 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".
 

Offline Chun Jiu

  • Multiple posting newcomer
  • *
  • Posts: 71
  • My Girlfriend
    • EasilyGCC
Re: Adding multiple paths to search for header files
« Reply #1 on: March 25, 2015, 02:14:11 pm »
Manually add each sub-path to search directories.

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

http://pan.baidu.com/s/1feNwU
easilygcc is a gmail's email.