Hi,
I didn't know that the wizards are scripted. Squirrel? Never heard of it :shock:
I just had a quick look, but I think you are right, the possibilities currently are very limited :?
I have never used MSYS and wxWidgets together. So I've to figure out this one. But can you give me an idea about any advantage of using MSYS in windows? I compile wx with GCC without using MSYS.
You don't have to setup any paths
. Seriously, as people have the choice, they will always decide differently.
Using presets is a Good Idea. But the sheer amount of combination can be confusing. Auto detection of config is difficult, but can be implemented somehow.
Maybe add some presets like (wxPack, mingw32-make, msys). Auto detection will require some work.
Can be done. But honestly I need to know how to instruct wizard to copy the required set of files.
After a quick look on your script, I think GetFilesDir() returns the directories containing the files.
So you would have to add a directory for every possibility. I hate redundant data :?
May not be possible. To do this with C::B, wizard has to set few additional preprocessor directives which would make your project clumsy.
Solving this with preprocessor directives surely is the wrong way. What we would need is the possibility of modifying the generated sourcefiles. Creating a temp directory, copying the files there, modifying them, let codeblocks copy them to the project dir and deleting the temp dir would be a alternative, but implementing this cross-platform is very hard.
The easiest and cleanest way would be codeblocks providing something like
a callback function with the source filename and content as parameter allowing the wizard developers to modify them with string manipulation.
Icons will work in Windows, but not in Linux. So they are excluded to avoid clashes in Linux.
Then make it a Windows feature only. I think there are enough win developers out there that the "wow, that was easy" effect would be pay off
being able to customize the name of the created classes and filenames!!
Not possible at the moment.
Would be possible with the callback function (see above).
I haven't ever looked at cb's source, but I think implementing this callback feature would be just a few lines.
This would greatly enhance the wizards possibilities, wouldn't it?
Waiting for your opinions
raph