You provide the necessary specifications in an XML file and then run the Project Automator tool. Optionally, you can export projects created in the GUI to an XML file. For more information about the Project Automator tool, see
Automating Project Creation.