Creating a project

 

To create a project, press the  "Create" button in the "Projects" panel. Objecteering C++ Developer then opens a window where the user can enter the project name, workspace, subdirectory and description (Figure 65).

 

Figure 65. Creating a project

 

Key:

·         The "Project name" field is used to enter a name for your new project. Objecteering C++ Developer does not authorize the creation of several projects with the same name.  If you enter a project name that already exists, Objecteering C++ Developer displays an error message.

·         The "Project workspace" field is used to define a workspace directory.  This directory will contain your project, along with any projects it uses and which have been provided by deployed model components.  It is recommended that you set your workspace to $(GenRoot).

·         The "Project subdirectory" field is used to contain the project's directory structure.  This directory structure (an example is shown in Figure 65-b below) contains an SRC directory containing your generated sources, a bin directory containing your compilation results, an MkData directory containing your generated makefiles and a doc directory containing project documentation.

·         The "Project description" field is used to enter a description for the project you are creating.

 

The following screenshot shows the directory structure for the project created in Figure 65.

 

Figure 65-b. The directory structure of the project created earlier

 

When a new project is created, Objecteering C++ Developer automatically creates and associates three targets with the project:

·         The C++ code generation target, which uses the type library, compilation platform, output directories, header and body file extensions specified by Objecteering C++ Developer parameters.

·         The doxygen documentation generation target, which uses doxygen options and output directions specified by Objecteering C++ Developer parameters.

·         The compilation target, which uses makefile and compiler options specified by Objecteering C++ Developer parameters.

 

Note:      Default C++ code and doxygen documentation generation options and compilation options must be specified by Objecteering C++ Developer parameters in order to properly initialize automatically created targets.