User forums > Help

Wizard writing...

(1/2) > >>

davemalham:
Okay, so not that new a topic but I'm currently really stumped as to how to do something, having read the wiki topics, looked (I think) all the supplied wizards and read the forums. I'm putting together a wizard to produce VST (audio) plugins (Windows and Mac) using VSTGui. I want a new project to have in it the standard files from the VSTSDK and VSTGui folders on my machine but I do not want to have them copied into the project folder each time - which I could do just by putting them in the wizard/files folder. I know that this is likely to result in a "D'oooh" moment, but any help would be greatly appreciated and the wizard will, of course, be made publicly available when it's stable...

   Dave

davemalham:
Anyone??

dje:

--- Quote from: davemalham on July 23, 2008, 04:56:35 pm ---I do not want to have them copied into the project folder each time - which I could do just by putting them in the wizard/files folder.

--- End quote ---
I'm not sure to really understand what you mean.
If the purpose is to install you SDK once without copying it for each project, you could adapt wxWidgets project wizard to your need.

Dje

stahta01:
Is this what project templates are for?

I have not used them, but I thought this was there purpose.

Tim S

davemalham:

--- Quote from: stahta01 on July 26, 2008, 04:50:06 am ---Is this what project templates are for?

I have not used them, but I thought this was there purpose.

Tim S

--- End quote ---

Well, I would prefer to use a wizard because the scripting (once I get my head round it) should give me the opportunity to make the whole process a lot more student proof (note that we're not talking about computer scientists here, just ordinary students doing Music Technology), but, for now, I have worked up a template which does pretty well all the basics of what I want, except change the name of the .def file I have to pass to the linker (this is required because of the way VST audio plugs are structured). If I make a new VST plug project, setting the name as, say, "New_VST_Plugin" all the file names, such as the .dll output name, etc., get changed appropriately, but not the .def file which, because it is include in the template file thus;
<Linker>
      <Add option="-def AmbVSTGui.def" />
</Linker>

whereas any other AmbVSTGui reference is changed to New_VST_Plugin in the .cbp project file generated from the template. Is there some magic I can do to change this behaviour, or is this a C::B "feature"?

   Dave

Navigation

[0] Message Index

[#] Next page

Go to full version