160012: add user documentation
|
@ -51,6 +51,7 @@ item does, select an item and press F1. </p>
|
|||
<p><img border="0" src="../images/ngtasks.gif" ALT="Related tasks" width="143" height="21">
|
||||
<br>
|
||||
<a href="../tasks/cdt_t_proj_new.htm">Creating a project</a><br>
|
||||
<a href="../tasks/cdt_t_proj_new_with_template.htm">Creating a project via a project template</a><br>
|
||||
<a href="../tasks/cdt_o_proj_files.htm">Working with C/C++ project files</a></p>
|
||||
<p><img border="0" src="../images/ngref.gif" ALT="Related reference" width="143" height="21">
|
||||
<br>
|
||||
|
|
|
@ -23,7 +23,8 @@ do this. The scenarios described below are recommended approaches.</p>
|
|||
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
|
||||
<a href="../tasks/cdt_t_proj_new.htm">Creating a project</a> and
|
||||
<a href="../tasks/cdt_t_proj_new.htm">Creating a project</a>,
|
||||
<a href="../tasks/cdt_t_proj_new_with_template.htm">Creating a project via a project template</a> and
|
||||
<a href="../tasks/cdt_o_proj_files.htm">Working with C/C++ project files</a>.</p>
|
||||
|
||||
<p>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.
|
||||
|
|
After Width: | Height: | Size: 36 KiB |
After Width: | Height: | Size: 24 KiB |
After Width: | Height: | Size: 18 KiB |
After Width: | Height: | Size: 24 KiB |
After Width: | Height: | Size: 48 KiB |
After Width: | Height: | Size: 24 KiB |
After Width: | Height: | Size: 51 KiB |
|
@ -14,6 +14,7 @@
|
|||
<p>The following topics provide step-by-step procedural instructions to help you perform various activities with the CDT:</p>
|
||||
|
||||
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none" href="cdt_t_proj_new.htm">Creating a project</a><br>
|
||||
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none" href="cdt_t_proj_new_with_template.htm">Creating a project via a project template</a><br>
|
||||
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none" href="cdt_o_proj_files.htm">Working with C/C++ project files</a><br>
|
||||
<img src="../images/trans.gif" border="0" width="50" height="1" alt=""><a style="text-decoration:none" href="cdt_t_show_proj_files.htm">Displaying C/C++ file components in the C/C++ Projects view</a><br>
|
||||
<img src="../images/trans.gif" border="0" width="50" height="1" alt=""><a style="text-decoration:none" href="cdt_t_conv_proj.htm">Converting a C or C++ nature for a project</a><br>
|
||||
|
|
|
@ -56,7 +56,8 @@
|
|||
<br><a href="../concepts/cdt_c_proj_file_views.htm">Project file views</a></p>
|
||||
|
||||
<p><img border="0" src="../images/ngtasks.gif" ALT="Related tasks" width="143" height="21">
|
||||
<br><a href="cdt_o_proj_files.htm">Working with C/C++ project files</a></p>
|
||||
<br><a href="cdt_o_proj_files.htm">Working with C/C++ project files</a>
|
||||
<br><a href="cdt_t_proj_new_with_template.htm">Creating a project via a project template</a></p>
|
||||
|
||||
<p><img border="0" src="../images/ngref.gif" ALT="Related reference" width="143" height="21">
|
||||
<br><a href="../reference/cdt_u_properties.htm">Project properties</a>
|
||||
|
|
|
@ -0,0 +1,91 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta http-equiv="Content-Language" content="en-us">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Creating a project</title>
|
||||
<link rel="stylesheet" type="text/css" href="../help.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<h1>Creating a project via a project template</h1>
|
||||
|
||||
<p>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.</p>
|
||||
|
||||
<p>To create a project from a template:</p>
|
||||
|
||||
<ol>
|
||||
|
||||
<li>Click <b>File > New > C Project</b> or <b>File > New > C++ Project</b>.
|
||||
<br>
|
||||
<br>
|
||||
<img src="../images/cdt_t_proj_new_with_template_1.png" alt="File >New > C++ Project">
|
||||
<br>
|
||||
</li>
|
||||
|
||||
<li>The wizard will open as shown below.<br>
|
||||
Expand the project type that you are interested in. For more information on project types, see <a href="cdt_t_proj_platf.htm">Selecting a
|
||||
project type</a> 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
|
||||
<em>org.eclipse.cdt.core.templates</em> extension point.<br>
|
||||
In the <b>Project Name</b> box, type a name. The example uses "HelloWorld"</li>
|
||||
<br>
|
||||
<br>
|
||||
<img src="../images/cdt_t_proj_new_with_template_2.png" alt="New Project Wizard">
|
||||
<br>
|
||||
</li>
|
||||
|
||||
<li>Click <b>Next</b>.</li>
|
||||
<li>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.</li>
|
||||
<br>
|
||||
<br>
|
||||
<img src="../images/cdt_t_proj_new_with_template_3.png" alt="New Project Wizard">
|
||||
<br>
|
||||
</li>
|
||||
|
||||
<li>This last page "Select Configurations" can be skipped, or allows further project configuration in the same way as non-template-based projects.
|
||||
<br>
|
||||
<br>
|
||||
<img src="../images/cdt_t_proj_new_with_template_4.png" alt="New Project Wizard"></li>
|
||||
</br>
|
||||
</li>
|
||||
<li>To create your project, click <b>Finish</b>.
|
||||
|
||||
<li>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.
|
||||
<br>
|
||||
<br>
|
||||
<img src="../images/cdt_t_proj_new_with_template_5.png" alt="The project created by the wizard"></li>
|
||||
</br>
|
||||
</li>
|
||||
|
||||
<li>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 <b>Window > Preferences > C/C++ > Template Default Values</b>
|
||||
<br>
|
||||
<br>
|
||||
<img src="../images/cdt_t_proj_new_with_template_6.png" alt="New Project Wizard"></li>
|
||||
</br>
|
||||
</li>
|
||||
</ol>
|
||||
|
||||
<p><img border="0" src="../images/ngconcepts.gif" ALT="Related concepts" width="143" height="21">
|
||||
<br><a href="../concepts/cdt_c_projects.htm">CDT Projects</a>
|
||||
<br><a href="../concepts/cdt_c_proj_file_views.htm">Project file views</a></p>
|
||||
|
||||
<p><img border="0" src="../images/ngtasks.gif" ALT="Related tasks" width="143" height="21">
|
||||
<br><a href="cdt_o_proj_files.htm">Working with C/C++ project files</a></p>
|
||||
<br><a href="cdt_t_proj_new.htm">Creating a project</a></p>
|
||||
|
||||
<p><img border="0" src="../images/ngref.gif" ALT="Related reference" width="143" height="21">
|
||||
<br><a href="../reference/cdt_u_properties.htm">Project properties</a>
|
||||
<br><a href="../reference/cdt_o_views.htm">Views</a></p>
|
||||
|
||||
<img src="../images/ng00_04a.gif" ALT="IBM Copyright Statement" >
|
||||
</body>
|
||||
|
||||
</html>
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
<toc label="Tasks">
|
||||
<topic label="Creating a project" href="tasks/cdt_t_proj_new.htm"/>
|
||||
<topic label="Creating a project via a project template" href="tasks/cdt_t_proj_new_with_template.htm"/>
|
||||
<topic label="Work with C or C++ project files" href="tasks/cdt_o_proj_files.htm">
|
||||
<topic label="Display file members in the C/C++ Projects view" href="tasks/cdt_t_show_proj_files.htm"/>
|
||||
<topic label="Converting a C or C++ nature for a project" href="tasks/cdt_t_conv_proj.htm"/>
|
||||
|
|