User forums > Embedded development

about c/c++ parser

(1/1)

artaban:
hello,

I was wondering why the 'C/C++ parser directory (project->properties)' doesnt contains by default :
Codeblocks\include

I think it is really helpful but anoying to add this directory each time.
(and it is impossible to do that when working without a project)

Could it be possible to add some options in c++ parser page (settings->editor->code compl..) :
[  ] Always parse Codeblocks/include directory
[  ] Always parse current directory (even without a project)


Sorry for my weak english.
thanks

MortenMacFly:

--- Quote from: artaban on November 01, 2007, 04:33:04 pm ---I was wondering why the 'C/C++ parser directory (project->properties)' doesnt contains by default :
Codeblocks\include

--- End quote ---
That's very simple: Because a lot people don't have the include folder directly under CodeBlocks. This includes me and I personally don't want to do the IDE some magic stuff behind the backs that might cause my compilation process to fail for obscure reason. Part of setting up a project should always be setting up compiler/linker directories and (in the case of C::B) the CC directories, too.
To automise the process you can setup a script that does that for all of your projects if you like.
With regards, Morten.

artaban:
I agree to your point of view.
but i dont think this is scriptable ...

Navigation

[0] Message Index

Go to full version