Author Topic: about c/c++ parser  (Read 15534 times)

Offline artaban

  • Single posting newcomer
  • *
  • Posts: 7
about c/c++ parser
« on: November 01, 2007, 04:33:04 pm »
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

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: about c/c++ parser
« Reply #1 on: November 02, 2007, 08:42:28 am »
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: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline artaban

  • Single posting newcomer
  • *
  • Posts: 7
Re: about c/c++ parser
« Reply #2 on: November 02, 2007, 05:09:59 pm »
I agree to your point of view.
but i dont think this is scriptable ...