News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

about c/c++ parser

Started by artaban, November 01, 2007, 04:33:04 PM

Previous topic - Next topic

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
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.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

artaban

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