Author Topic: easy way to switch C::B contrib plugins dependency from wx2.8 -> wx2.6 ??  (Read 3120 times)

Offline dmoore

  • Developer
  • Lives here!
  • *****
  • Posts: 1576
currently (for MSW builds), the required wx lib is hardcoded into every project under linker options. this suggests a need for workspace custom variables or some other convenient way of changing dependencies that affect multiple projects.

for now, i ran "replace in files"* on all of the contrib plugins project files replacing "wxmsw28" with "wxmsw$(#wx.ver)" then created a user-defined field for variable "wx": ver = 26 (or 28)

I put up a patch for this fix (in case there aren't any better solutions) - I'll link to it as soon as belios sorts its shit out. (EDIT: so I don't lose it, I'm attaching the patch here)


* well... actually I didn't because replace in files seems to be buggy...

[attachment deleted by admin]
« Last Edit: May 29, 2007, 10:49:23 pm by dmoore »

Online killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5490
very good idea, I once brought it up myself. But our Don will bring another solution though scripting.
So all we need do to is be patient a bit more ;-)

Offline dmoore

  • Developer
  • Lives here!
  • *****
  • Posts: 1576
good stuff.