Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: blockn102 on October 25, 2008, 04:39:15 am

Title: C++ parser options. Is portable solution?
Post by: blockn102 on October 25, 2008, 04:39:15 am
I think CB save the path of "C++ parser options" in cbp file is not good.

My solutions:

Example, I have a project wxWidgetsProject1. Global C++ parser:
Code
wxWidgets* => C:\src\wxWidgets, C:\src\boost

My friend settings:
Code
wxWidgetsProject1 => E:\wxWidgets, E:\boost
Code
codeblocks => E:\wxWidgets, E:\codeblocks\devel

This solution is easy to share project, group work.

Thanks for read this.
Title: Re: C++ parser options. Is portable solution?
Post by: MortenMacFly on October 25, 2008, 01:38:37 pm
I think CB save the path of "C++ parser options" in cbp file is not good.
...that's exactly why global compiler variables (GCV) were introduced. Read about this concept in the Wiki. It will resolve your issues and even more... ;-)