User forums > Embedded development
Codeblocks wizard script multiple compiler pages
anandamu16:
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
anandamu16:
--- 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)
--- End quote ---
Is there anyone who can help me in this?
Pecan:
https://github.com/ywx/cbArmNoneEabiWizard
https://github.com/ywx/cbScriptedWizardPlugin
BlueHazzard:
Can you elaborate the differences between the cbscriptedwizzard and this version https://github.com/ywx/cbScriptedWizardPlugin ? Just some quick summary, no details?
Pecan:
--- 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?
--- End quote ---
It's an extended scripted wizard allowing choice containers.
--- Code: ---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");
--- End code ---
Navigation
[0] Message Index
[#] Next page
Go to full version