News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

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

Started by dmoore, May 29, 2007, 10:45:36 PM

Previous topic - Next topic

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]
Python plugins: [url="https://github.com/spillz/codeblocks-python"]https://github.com/spillz/codeblocks-python[/url]
Code::Blocks Daily Builds -- Ubuntu PPA: [url="https://launchpad.net/~damien-moore/+archive/codeblocks"]https://launchpad.net/~damien-moore/+archive/codeblocks[/url]

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

Python plugins: [url="https://github.com/spillz/codeblocks-python"]https://github.com/spillz/codeblocks-python[/url]
Code::Blocks Daily Builds -- Ubuntu PPA: [url="https://launchpad.net/~damien-moore/+archive/codeblocks"]https://launchpad.net/~damien-moore/+archive/codeblocks[/url]