Hi,
I've created plugin which may ease setting up libraries to be used inside C::B.
Base idea is to set-up global variables is such way that if one want to use library settings, only following project options must be added:
- $(#GV.include) in include path
- $(#GV.lib) in library path
- $(#GV.obj) in resource path
- $(#GV.cflags) to other compiler options
- $(#GV.lflags) to other linker options
(where GV is name of global variable - f.ex. WX for wxWidgets, CB for Code::Blocks SDK etc, etc)
Maybe this list isn't too short but it will be same for all libraries and perhaps it should be done automatically
.
Currently it support only wxWidgets (2.6 MONOLITHIC DLL version), C::B SDK, glfw but this list can be easily extendedd through xml settings (see libfinder/README.txt in attached source for deetails).
If You want to compile plugin, extract files from attached archive into C::B/src/plugins/contrib directory and simply compile (maybe some project settings will have to be changed).
This plugin also assumes that library can use multiple paths. Because C::B Global Variables allow only one path in category, other will be simulated through -I<include_path> and -L<include_path> paths. Maybe it's good point for feature request
And one more thing - target platform for this plugin was Windows since there are common paths for libraries and there's no need to find them
[attachment deleted by admin]