project->SetCompilerID("gcc");
This works now and because of this I can skip the compiler page for e.g. the Matlab S-Function wizard. Anyway: If I would like to use the compiler page to setup the targets and path only, would it be possible to select a compiler in the combobox but greying it out? Thus a user could not change the compiler, but get's informed about the selection.
Are you asking how to create a custom page or how to inject a page dynamically?
I really ment a custom page (like the welcome dialog) where I could place some - or at least one - lable(s) with additional information. To make an example: For the Matlab S-Function in the end there should be a page that informs the user about the fact that depending on the Matlab version he may have to remove a library and rename another.
project->SetModeForPCH(pchSourceDir);
Seems to work, too. Thanks a lot.
Generally, until a doc is written, if you want to know what parts of the SDK are exposed to scripts have a look at src/sdk/as/*.cpp.
Reminds me to update the SDK documentation - which I will do in a while...
Another question is raised concerning the compiler selection: How do I verify a compiler with a specific ID is present? E.g. it the LCC patch is not applied there is no compiler with the ID "lcc". I searched the cpp files but "SetCompilerID" is a void function...?! I suggest changing it to bool to provide this feedback for this purpose?!
With regards, Morten.