Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

easy way to switch C::B contrib plugins dependency from wx2.8 -> wx2.6 ??

(1/1)

dmoore:
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]

killerbot:
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 ;-)

dmoore:
good stuff.

Navigation

[0] Message Index

Go to full version