There is a typo:
@@ -509,7 +518,7 @@
local pf = prj.AddFile(tgtidx, the_file);
GetProjectManager().RebuildTree(); // make sure our view is current
- // if the file was added successfully, (...)
+ // if the file was added succesfully, (...)
if (!IsNull(pf))
{
// add to this file the rest of the selected targets...
And an unrelated change:
@@ -35,7 +35,8 @@
RegisterWizard(wizProject, _T("gtk"), _T("GTK+ project"), _T("GUI"));
RegisterWizard(wizProject, _T("irrlicht"), _T("Irrlicht project"), _T("2D/3D Graphics"));
RegisterWizard(wizProject, _T("lf"), _T("Lightfeather project"), _T("2D/3D Graphics"));
- RegisterWizard(wizProject, _T("matlab_csf"), _T("Matlab project"), _T("Console"));
+ if (PLATFORM == PLATFORM_MSW)
+ RegisterWizard(wizProject, _T("matlab_csf"), _T("Matlab project"), _T("Console"));
RegisterWizard(wizProject, _T("opengl"), _T("OpenGL project"), _T("2D/3D Graphics"));
RegisterWizard(wizProject, _T("ogre"), _T("Ogre project"), _T("2D/3D Graphics"));
RegisterWizard(wizProject, _T("plugins"), _T("Code::Blocks plugin"), _T("Code::Blocks"));
And commented code, which has to be removed/fixed:
+// WarningsOn(project, Wizard.GetCompilerID());
Also does this work on Linux? Is this platform programmable on Linux?
If yes, this line should be made cross platform:
+ pb_hex = _T("cmd /c \"packihx <$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).ihx >$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).hex\"");
I've not run the wizard, so I can't tell if it works.
Also can you explain why you're changing the common script?