Page 1 of 1
Add'l Search Path + Tag Settings
Posted: Mon Jul 19, 2010 7:11 pm
by cgp1024
Is there a way to automatically add / merge the path(s) specified in the compiler specified Additional Search Path, to the Tag / Include Files?
Seems like these should be the same list ?
Re: Add'l Search Path + Tag Settings
Posted: Tue Jul 20, 2010 9:45 pm
by eranif
cgp1024 wrote:Seems like these should be the same list ?
I agree, however this caused a problem in the past.
For example: when using a custom build, user does not use codelite's include paths (from the project settings) since he is using his own makefile/qmake/configure/etc
For those users, code-completion wont work.
I might use a different approach:
- codelite will auto-detect the search paths for the default libraries (/usr/include, /usr/include/c++ etc)
- the rest of the search path will be taken from the project settings
Two problems to workaround here:
- The paths must be in absolute paths (this might cause problems when working with different volumes under Windows)
- expanding backticks/environment variables/codelite's macros
Eran