Hi,
I am trying to create a wizard in codeblocks which will allow the user to select one out of multiple embedded development boards available (like in ARM Wizard) and based on the Development board selected, wizard will give different compiler options. (eg if user has selected development board "A", he will have the option to select only one of "x", and "Y" compilers. Similarly, if the if user has selected development board "B", he will have the option to select only one of "z", and "w" compilers).
By going through the documentation, I didn't get a way to do this.
It seems that only 1 compiler page is possible in 1 wizard.
Is there any way to create multiple compiler pages in single wizard, so that based on development board selection user will get the suitable compilers to select? Or is there any other way to achieve the same though?
P.S I am refering the below document http://wiki.codeblocks.org/index.php/Wizard_Scripting_Commands
Quote(eg if user has selected development board "A", he will have the option to select only one of "x", and "Y" compilers. Similarly, if the if user has selected development board "B", he will have the option to select only one of "z", and "w" compilers)
Is there anyone who can help me in this?
https://github.com/ywx/cbArmNoneEabiWizard
https://github.com/ywx/cbScriptedWizardPlugin
Can you elaborate the differences between the cbscriptedwizzard and this version https://github.com/ywx/cbScriptedWizardPlugin ? Just some quick summary, no details?
Quote from: BlueHazzard on April 27, 2017, 07:12:12 PM
Can you elaborate the differences between the cbscriptedwizzard and this version https://github.com/ywx/cbScriptedWizardPlugin ? Just some quick summary, no details?
It's an extended scripted wizard allowing choice containers.
void Wiz::FillContainerWithSelCompilers( const wxString& name, const wxString& validCompilerIDs )
{ ... }
int Wiz::FillContainerWithChoices( const wxString& name, const wxString& choices )
{ ... }
// extender
func(&Wiz::FillContainerWithSelCompilers, "FillContainerWithSelCompilers").
func(&Wiz::AppendContainerWithSelCompilers, "AppendContainerWithSelCompilers").
func(&Wiz::FillContainerWithChoices, "FillContainerWithChoices").
func(&Wiz::AppendContainerWithChoices, "AppendContainerWithChoices").
func(&Wiz::GetWizardScriptFolder, "GetWizardScriptFolder");
@pecan: Have you looked if this could be reintegrated in the main plugin?
Yes, it can. I'm using it myself.
Would you like me to integrate it to trunk?
Yes, in the original wizard, please. Can you show a patch before committing?