Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
Patch to CB Plugin Wizard.
stahta01:
I have created a patch for the CB Plugin Wizard.
--- Quote ---* Plugins Wizard: Added target variables:
WX_CFG
WX_COMPILER
WX_SUFFIX
WX_VERSION
Also, fixed build errors when using wxWidgets 3.0.
NOTE: The user still has to rename the path "devel" to "devel30".
--- End quote ---
Edit: Removed the part that asks which wxWidgets version (it defaults to 28).
Tim S.
oBFusCATed:
Have you seen this patch: https://sourceforge.net/p/codeblocks/tickets/481/ ?
stahta01:
--- Quote from: oBFusCATed on May 09, 2017, 09:23:31 am ---Have you seen this patch: https://sourceforge.net/p/codeblocks/tickets/481/ ?
--- End quote ---
Not before I wrote the above patch. It seems to be a much larger and complex patch.
Edit1: I will see which of the below options from that patch will be able to be added to my patch.
I currently consider "5) Add target "to_codeblocks" to make the plugin debuggable" to be big enough for a separate patch.
--- Quote --- bluehazzard - 2017-02-27
Ok, so i reworked the script future:
1) Remove wx2.6 support
2) Add support for wx3.0 and wx3.1, make wx2.8 default
3) Changes for the windows build:
3.1) remove -ansi compiler option
3.2) add -std=gnu++11 compiler option
4) Changes for unix:
4.1) add option to choose system default wx-config parameters
4.2) add --version command line parameter for the different versions of wx
5) Add target "to_codeblocks" to make the plugin debuggable (see the discussion top)
6) Move all target common compiler/linker settings to the project
7) Use platform independent squirrel scripting to copy files
--- End quote ---
Tim S.
BlueHazzard:
--- Quote from: oBFusCATed on May 09, 2017, 09:23:31 am ---Have you seen this patch: https://sourceforge.net/p/codeblocks/tickets/481/ ?
--- End quote ---
any comments on this? especially the linux problems?
stahta01:
--- Quote --- bluehazzard - 2017-02-27
Ok, so i reworked the script future:
1) Remove wx2.6 support
2) Add support for wx3.0 and wx3.1, make wx2.8 default
3) Changes for the windows build:
3.1) remove -ansi compiler option
3.2) add -std=gnu++11 compiler option
4) Changes for unix:
4.1) add option to choose system default wx-config parameters
4.2) add --version command line parameter for the different versions of wx
5) Add target "to_codeblocks" to make the plugin debuggable (see the discussion top)
6) Move all target common compiler/linker settings to the project
7) Use platform independent squirrel scripting to copy files
--- End quote ---
I did NOT see the "-ansi" option I will check and see if it is there to be removed.
I like the Linux options in step 4.2; will try adding this first.
I also like Step 6 move "Move all target common compiler/linker settings to the project".
After I do those will look at the other features.
Tim S.
Navigation
[0] Message Index
[#] Next page
Go to full version