Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
How to globally set the "custom variables" in the cbp files under a workspace
ollydbg:
Hi, when I try to build the whole C::B workspace against the "debug version of the wxWidgets", I need to change the "custom variable" named "WX_SUFFIX" from "u" to "ud".
This is simple if I only need to change this value in a single "cbp" file, but if I want to change them in all the cbps under the workspace, how to do that? I don't want to open the build option dialog for each cbp files.
Thanks.
Wkerry:
Have a look at https://github.com/gerard-durand/codeblocks_gd_cbps as an example of how to do it for Windows only. This may save you some time.
LETARTARE:
It seems to me that using the 'Plugin->Project options manipulator' extension should solve your workspace problem.
ollydbg:
Hi, @LETARTARE thanks. This is my first time to use this project options manipulator plugin, this plugin works. I can change all the "u" to "ud" for the "WX_SUFFIX" custom variable, great!
@Wkerry thanks, I see the gd's cbp file is a unified version for all windows versions and wx versions, this is also a great work! Why not put them to our SVN code base? Any devs opinion? :)
Miguel Gimenez:
IMHO, now wxWidgets 3.3 is near we can try gd_on's files, keeping current 3.0 (Linux only), 3.1 and 3.2 projects (just in case).
Navigation
[0] Message Index
[#] Next page
Go to full version