core/com.nokia.carbide.cpp.doc.user/html/projects/tutorials/new_proj_from_template_01.htm
author fturovic <frank.turovich@nokia.com>
Tue, 13 Jul 2010 13:38:18 -0500
changeset 1610 5e244b89116e
child 1617 94b6d1326534
permissions -rw-r--r--
revised Create New Project tutorial, updated images, TOC, and welcome link

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta name="LASTUPDATED" content="06/17/05 11:09:43" />
<title>Creating New Projects from Templates</title>
<link rel="StyleSheet" href="../../../book.css" type="text/css"/>
</head>
<body bgcolor="#FFFFFF">
<h2>Creating New Projects from Templates</h2>
<p>In this example we show how to create a new project using one of the built-in Carbide templates, how to build it into an executable, and how to launch the debugger to verify program accuracy. The steps to do this include:</p>
<ol>
    <li><strong>Creating a project from a project template</strong></li>
    <li><a href="new_proj_from_template_02.htm">Building</a> an executable based on the project sources</li>
    <li><a href="new_proj_from_template_03.htm">Defining</a> a launch configuration for running or debugging the application</li>
    <li><a href="new_proj_from_template_04.htm">Controlling and debugging</a> the running program using  the Carbide debugger</li>
</ol>
<hr>
<p>Everything starts with a project. So the first step is to use the <strong>New Project</strong> wizard to create  a project based on a known template. Program templates are designed to make creating common project types fast and simple. They include the basic sources, resources, includes, and build files that Carbide uses to manage your project. </p>
<div class="step">
    <h4><strong></strong>Creating projects from a template</h4>
    <ol>
        <li>Click the <strong>File &gt; New &gt; Symbian OS C++ Project</strong> menu option.<br />
        	<p>The <strong>New Symbian OS C++ Project</strong> window appears to guide you through project creation process.</p>
            <p><img src="../images/new_project_template_01.png" alt="New Symbian OS C++ Project window" width="525" height="503"></p>
        </li>
        <li>Select a template from the available, then click <strong>Next</strong>.<br />
        	<p>Select the template for the type of project you want to create. For this example we chose the <strong>S60 > GUI Application</strong> template. Note that as you select a template a brief description appears below the list explaining it attributes.</p>
        </li>
        <li>Use the <strong>New Symbian OS C++ Project</strong> page to define the project name and build system.<br />
        	<p><img src="../images/new_project_template_02.png" width="525" height="503"></p>
            <ol type="a">
                <li>Type a name into the <strong>Project name</strong> text box.<br />
                    <p>The project name is used to define several of the pre-build source files in the prject.</p>
                </li>
                <li>(Optional) Change the project location.<br />
                	<p>Uncheck the <strong>Use default location</strong> option to specify a different location for the project.</p>
                </li>
                <li>Select the <strong>Builder</strong> type.<br />
                    <p>Based on the installed SDKs you can choose between SBSv2 (recommended) and the older SBSv1 build systems.</p>
                </li>
                <li>Click <strong>Next</strong>.</li>
            </ol>
        </li>
        <li>In the Symbian OS SDKs page, select the SDK and build configurations for the project.<br />
        	<p>Here you can select from any SDK that is both installed and recognized by Carbide. If the SDK supports several build configurations (GCCE, RVCT, etc.) then you can pick and choose among them for your project.</p>
        </li>
        <li>(Optional) Click Next to provide Basic Settings like author, copyright and other info for your project.</li>
        <li>(Optional) Click Next to rename the Project Directories used to organize the project.</li>
        <li>Click Finish.<br>
            <p>Carbide uses the selected project template and your settings to create a new project in the <a href="../../reference/view_cpp_projects.htm">Project Explorer</a> view.</p>
        </li>
    </ol>
</div>
<strong>NEXT STEP</strong> &gt; <a href="new_proj_from_template_02.htm">Building</a> an executable based on the project sources
<h4>Other references</h4>
<ul>
    <li><a href="./">Creating New Projects Tutorial</a></li>
</ul>
<div id="footer">Copyright &copy; 2010 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. <br>License: <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a></div>

</body>
</html>