Creating a New Project
- 4.1.1. Creating a project from a template
- 4.1.2. Importing Projects
4.1.1. Creating a project from a template
The project wizard plugin uses a powerful template processing engine called autogen. All new projects are created from templates that are written in autogen syntax. The project wizard lets you create new projects from a selection of project templates. The selection includes simple generic, flat (no subdirectory), GTK+, GNOME, Java, Python projects and more. New templates can be easily downloaded and installed since each template is just a collection of text files.
To create a project, choose the menu item to start the application wizard. Read the first page carefully. Click on to proceed.
Select the type of application you want to create in the second page. Click on to proceed.
On the following pages, enter all necessary details for your project. You can change these settings later, but it is advisable to set them right initially in order to maintain the project's integrity. White spaces or any non-alphanumeric characters, except underscore (_) and dash (-), are not allowed in many of the entry boxes that follow (except perhaps the Author text box).
You can also specify whether your project will have internationalization support using gettext (read the gettext info page for more details). This gives your project multilingual support for different languages such as English, French and Dutch. The rest of the options are for setting whether the GNU copyright statement should appear in the comments at the top of each file, and for enabling GNOME desktop menu information if necessary. Shared library support allows you to add shared library modules later on. If you plan to have libraries in your project, it would be good to enable this. Depending on the project type that is being created, Anjuta may request additional information.
The final step is to verify the information you have just supplied. Click on to start generating the project.
Once the project has been generated, you can try it out by building it and executing it.
4.1.2. Importing Projects
The import project feature is used to import an already existing project and convert it into an Anjuta project. Activate the import project wizard via and follow the instructions dictated by the wizard. Once a project has been imported, it can be opened in Anjuta subsequently just like any other Anjuta project.
The import project feature only works if your existing project uses autoconf/automake or, to a very limited extent, a plain Makefile.
