diff --git a/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_proj_file_views.htm b/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_proj_file_views.htm index 9e8ea204922..0a95a6e56e8 100644 --- a/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_proj_file_views.htm +++ b/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_proj_file_views.htm @@ -51,6 +51,7 @@ item does, select an item and press F1.

Related tasks
Creating a project
+Creating a project via a project template
Working with C/C++ project files

Related reference
diff --git a/doc/org.eclipse.cdt.doc.user/getting_started/cdt_w_existing_code.htm b/doc/org.eclipse.cdt.doc.user/getting_started/cdt_w_existing_code.htm index 8fe0980eb51..803143754a5 100644 --- a/doc/org.eclipse.cdt.doc.user/getting_started/cdt_w_existing_code.htm +++ b/doc/org.eclipse.cdt.doc.user/getting_started/cdt_w_existing_code.htm @@ -23,7 +23,8 @@ do this. The scenarios described below are recommended approaches.

Repository perspective to "Checkout As..." any folder in the repository. The first time you "Checkout As...", the New Project wizard launches and you need to create a C or C++ project for the folder. For more information, see -Creating a project and +Creating a project, +Creating a project via a project template and Working with C/C++ project files.

After you perform a checkout operation, a CVS checkout of the project occurs into the project's location. It is recommended that you eventually add and commit the CDT project files back into CVS. diff --git a/doc/org.eclipse.cdt.doc.user/images/cdt_t_proj_new_with_template_1.png b/doc/org.eclipse.cdt.doc.user/images/cdt_t_proj_new_with_template_1.png new file mode 100644 index 00000000000..08c9d7dbca3 Binary files /dev/null and b/doc/org.eclipse.cdt.doc.user/images/cdt_t_proj_new_with_template_1.png differ diff --git a/doc/org.eclipse.cdt.doc.user/images/cdt_t_proj_new_with_template_2.png b/doc/org.eclipse.cdt.doc.user/images/cdt_t_proj_new_with_template_2.png new file mode 100644 index 00000000000..3fe998ade0a Binary files /dev/null and b/doc/org.eclipse.cdt.doc.user/images/cdt_t_proj_new_with_template_2.png differ diff --git a/doc/org.eclipse.cdt.doc.user/images/cdt_t_proj_new_with_template_3.png b/doc/org.eclipse.cdt.doc.user/images/cdt_t_proj_new_with_template_3.png new file mode 100644 index 00000000000..0850083f0c7 Binary files /dev/null and b/doc/org.eclipse.cdt.doc.user/images/cdt_t_proj_new_with_template_3.png differ diff --git a/doc/org.eclipse.cdt.doc.user/images/cdt_t_proj_new_with_template_4.png b/doc/org.eclipse.cdt.doc.user/images/cdt_t_proj_new_with_template_4.png new file mode 100644 index 00000000000..f67b3352fe3 Binary files /dev/null and b/doc/org.eclipse.cdt.doc.user/images/cdt_t_proj_new_with_template_4.png differ diff --git a/doc/org.eclipse.cdt.doc.user/images/cdt_t_proj_new_with_template_5.png b/doc/org.eclipse.cdt.doc.user/images/cdt_t_proj_new_with_template_5.png new file mode 100644 index 00000000000..4918ac1d02f Binary files /dev/null and b/doc/org.eclipse.cdt.doc.user/images/cdt_t_proj_new_with_template_5.png differ diff --git a/doc/org.eclipse.cdt.doc.user/images/cdt_t_proj_new_with_template_6.png b/doc/org.eclipse.cdt.doc.user/images/cdt_t_proj_new_with_template_6.png new file mode 100644 index 00000000000..ba3fd341ebc Binary files /dev/null and b/doc/org.eclipse.cdt.doc.user/images/cdt_t_proj_new_with_template_6.png differ diff --git a/doc/org.eclipse.cdt.doc.user/images/cdt_t_proj_new_with_template_7.png b/doc/org.eclipse.cdt.doc.user/images/cdt_t_proj_new_with_template_7.png new file mode 100644 index 00000000000..181c2eca953 Binary files /dev/null and b/doc/org.eclipse.cdt.doc.user/images/cdt_t_proj_new_with_template_7.png differ diff --git a/doc/org.eclipse.cdt.doc.user/tasks/cdt_o_tasks.htm b/doc/org.eclipse.cdt.doc.user/tasks/cdt_o_tasks.htm index 447fc0899e4..f1fb13d770e 100644 --- a/doc/org.eclipse.cdt.doc.user/tasks/cdt_o_tasks.htm +++ b/doc/org.eclipse.cdt.doc.user/tasks/cdt_o_tasks.htm @@ -14,6 +14,7 @@

The following topics provide step-by-step procedural instructions to help you perform various activities with the CDT:

Creating a project
+Creating a project via a project template
Working with C/C++ project files
Displaying C/C++ file components in the C/C++ Projects view
Converting a C or C++ nature for a project
diff --git a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_proj_new.htm b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_proj_new.htm index 8470ce3d3be..22c5b30aa57 100644 --- a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_proj_new.htm +++ b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_proj_new.htm @@ -56,7 +56,8 @@
Project file views

Related tasks -
Working with C/C++ project files

+
Working with C/C++ project files +
Creating a project via a project template

Related reference
Project properties diff --git a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_proj_new_with_template.htm b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_proj_new_with_template.htm new file mode 100644 index 00000000000..439bb3e6290 --- /dev/null +++ b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_proj_new_with_template.htm @@ -0,0 +1,91 @@ + + + + + + +Creating a project + + + + + +

Creating a project via a project template

+ +

From CDT 4.0 its possible to create projects based upon templates defined by the IDE supplier. What this means is +that you can easily create a project which contains customized source code and is ready for use in a few clicks. Some +aspects of the generated project may be customized by the user as part of the new project wizard.

+ +

To create a project from a template:

+ +
    + +
  1. Click File > New > C Project or File > New > C++ Project. +
    +
    + File >New > C++ Project +
    +
  2. + +
  3. The wizard will open as shown below.
    + Expand the project type that you are interested in. For more information on project types, see Selecting a + project type This shows the template projects that you can use as a basis + for your new project. CDT comes with some simple templates, but ISVs can add further templates by using the + org.eclipse.cdt.core.templates extension point.
    + In the Project Name box, type a name. The example uses "HelloWorld"
  4. +
    +
    + New Project Wizard +
    + + +
  5. Click Next.
  6. +
  7. The next page is dependent on the type of template you selected. It will consist of a number of input fields, maybe with + default values, that will be fed into the template you create.
  8. +
    +
    + New Project Wizard +
    + + +
  9. This last page "Select Configurations" can be skipped, or allows further project configuration in the same way as non-template-based projects. +
    +
    + New Project Wizard
  10. +
    + +
  11. To create your project, click Finish. + +
  12. In the Project Explorer you will see that the new project has been created. You will see that the source file has + been customized with the values you entered earlier in the wizard. +
    +
    + The project created by the wizard
  13. +
    + + +
  14. Sometimes values you enter into the template wizard will be remembered between sessions in order that you do not + need enter them each time. If you want to change these you can use Window > Preferences > C/C++ > Template Default Values +
    +
    + New Project Wizard
  15. +
    + +
+ +

Related concepts +
CDT Projects +
Project file views

+ +

Related tasks +
Working with C/C++ project files

+
Creating a project

+ +

Related reference +
Project properties +
Views

+ +IBM Copyright Statement + + + \ No newline at end of file diff --git a/doc/org.eclipse.cdt.doc.user/topics_Tasks.xml b/doc/org.eclipse.cdt.doc.user/topics_Tasks.xml index 4fe99cefbda..f092b515d30 100644 --- a/doc/org.eclipse.cdt.doc.user/topics_Tasks.xml +++ b/doc/org.eclipse.cdt.doc.user/topics_Tasks.xml @@ -4,6 +4,7 @@ +