User forums > General (but related to Code::Blocks)

linking to a specific lib version

<< < (2/2)

ptDev:

--- Quote from: devguy on April 20, 2011, 09:09:08 am ---where do i put this full path name? "/var/local/bin/wx-config" if that is what I am suppose to tell CB to use to configure my wxWidgets build??

--- End quote ---

It should work. For example, where the project settings now say "wx-config --libs", change to "/var/local/bin/wx-config --libs".

devguy:
ok thanks i figured out where that change needs to be made.
not obvious, since you need to select the project name and not the 'debug' or 'release' node underneath the "project build option"

MortenMacFly:

--- Quote from: devguy on April 20, 2011, 09:42:15 am ---ok thanks i figured out where that change needs to be made.
not obvious, since you need to select the project name and not the 'debug' or 'release' node underneath the "project build option"

--- End quote ---
It is obvious, if this setting applies to the whole project (i.e. all targets). You can setup options at project- and target level. The target level options can either be an addition or a replacement for the project options. This allows setting up common compiler/linker options very easily as it is often the case that targets share certain settings. And even if not, targets can override settings done at project level (as I've said already).

devguy:
i figured that much out, still feel my way around CB  :P

Navigation

[0] Message Index

[*] Previous page

Go to full version