Author Topic: NewBuild work, great!  (Read 5109 times)

Offline kisoft

  • Almost regular
  • **
  • Posts: 194
NewBuild work, great!
« on: November 03, 2005, 08:18:02 am »
Codeblocks-NewBuild.cbp work. See likely!
Rebuild now and found comfortable this feature! 8) Thanks C::B team!

Let's go to keep in good order! :wink:

OS: WinXPSP3
wxWidgets: 2.8.12
CodeBlocks: Master github cbMakefileGen plugin:
https://github.com/kisoft/cbmakefilegen

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
Re: NewBuild work, great!
« Reply #1 on: November 03, 2005, 04:20:33 pm »
Question - should now we use the CodeBlocks-NewBuild.cbp by default? I diffed with the other cbp and noticed new variables.

Mind explaining guys? Thanks.

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: NewBuild work, great!
« Reply #2 on: November 03, 2005, 04:39:37 pm »
Yes and no. The file is there primarily for the developers, so they can test if everything works reliably before it goes "really public", and so they have a feeling of how it is intended to be used.
It is the exact same project as the normal wx26 project, except that it a lot more comfortable, because you don't need to change paths every time you check out.

For everybody else, I think it is dangerous to use it because it is really, really good. If you have used it once, you will be tempted to use it in all your projects immeditately. But if you do that and we change one tidy bit, you will have to change all projects again. So better wait until it is "officially out".  :)

Yiannis already found one issue today. The edit compiler options dialogs filter the variables through wxFileName, and wxFileName does some completely unnecessary Smart replacements which break the scope operator (you get $\(:wx) instead of $(::wx) in the edit box).
This is nothing that prevents the new build scheme from working, but it is quite annoying when you edit your project files because you have to correct it every time, which is absolutely unnecessary.
So the scope resolution operator will have to be changed (better than rewrite half of the application). Yiannis is currently testing with '#', giving the scheme $(#wx.base), this seems to do fine.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: NewBuild work, great!
« Reply #3 on: November 03, 2005, 06:51:28 pm »
Quote
So the scope resolution operator will have to be changed (better than rewrite half of the application). Yiannis is currently testing with '#', giving the scheme $(#wx.base), this seems to do fine.

Indeed it works fine and the changes are in CVS...
Be patient!
This bug will be fixed soon...

Offline kisoft

  • Almost regular
  • **
  • Posts: 194
Re: NewBuild work, great!
« Reply #4 on: November 07, 2005, 08:09:40 am »
Quote
So the scope resolution operator will have to be changed (better than rewrite half of the application). Yiannis is currently testing with '#', giving the scheme $(#wx.base), this seems to do fine.

It look likely. And work on Win version.

$(#wx.include) more correctly (logically) than //$(::wx.include)
OS: WinXPSP3
wxWidgets: 2.8.12
CodeBlocks: Master github cbMakefileGen plugin:
https://github.com/kisoft/cbmakefilegen