Game Development Community

Toolbox - purpose for C++ regenerate button?

by Robert Lee · in Torque 3D Professional · 06/03/2009 (7:10 am) · 5 replies

Could someone enlighten me on the purpose of the C++ Regenerate button on the Toolbox? I clicked it, it said I did it successfully - just not sure what "it" is.

#1
06/03/2009 (9:11 am)
I would assume it regenerates the source files (in case they get messed up and you want to get back to the ones on the template you used)

Just guessing though
#2
06/03/2009 (9:31 am)
It generates the projects inside the build folder. You only need to click it if you modify the the .conf files inside the build/config folder. They tell which libraries your projects are using among other things, and are used to generate VisualC++ and Xcode projects. Do not click the regenerate button if you modified your projects by hand, since it will overwrite them!
#3
06/03/2009 (11:19 am)
There really should be a messagebox asking if you really want to re-generate the projects after you click the "Regenerate" button in the Toolbox as its not that hard to hit the wrong button when you mean to press "Edit Source"...
#4
06/03/2009 (11:32 am)
Its also useful if you move your project, the projects have full paths in them so need regeneration after moving.

I dropbox them between my laptop and desktop machine with different paths so I just hit regenerate when moving computers.
#5
06/03/2009 (1:17 pm)
I'll be changing the "OK" prompt to an "OK" + "Show Log" one, as we get docs in we'll also be putting a lot of links from the tools (Toolbox and in engine) to the docs so hopefully an explanation is only a click away :)