Bug #185048 - doc update
|
@ -2,7 +2,7 @@
|
|||
<html lang="en">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>C/C++ Development Toolkit (CDT) Managed Make Tutorial</title>
|
||||
<title>New CDT Project with generated makefile - Tutorial</title>
|
||||
<link rel="stylesheet" type="text/css" href="../help.css">
|
||||
|
||||
<script language="JavaScript">
|
||||
|
|
|
@ -1,17 +0,0 @@
|
|||
<!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>Tutorial</title>
|
||||
<link rel="stylesheet" type="text/css" href="../help.css">
|
||||
</head>
|
||||
<body>
|
||||
<h3>Welcome to the CDT Tutorial</h3>
|
||||
|
||||
<p>We will now walk though the process of creating a simple 'Hello World' application using the CDT.</p>
|
||||
|
||||
<p><i>Note: This tutorial is best viewed at 1024x768 resolution or higher</i>.</p>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -14,6 +14,13 @@ function newWin(url) {
|
|||
<body>
|
||||
<h3>Start Eclipse</h3>
|
||||
<p>We will now walk though the process of creating a simple 'Hello World' application using the CDT.</p>
|
||||
<p>Note, there were 2 separate project types in CDT 3.x : 'Managed make' and 'Standard make'. First one
|
||||
generates makefile automatically, second one requires user's makefile to build.</p>
|
||||
<p>In CDT 4.0, both these types are combined. In general, the only available project type can be switched
|
||||
to 'Managed make' or 'Standard make' mode at any time you wish. </p>
|
||||
<p>Current tutorial will describe a process of new project creation using generated makefile.</p>
|
||||
|
||||
|
||||
<p>The image below shows the standard Workbench.
|
||||
If you have not already installed the CDT, you can find the procedures <a href="javascript:void(0)" onClick="newWin('cdt_w_install_cdt.htm')">here</a>.</p>
|
||||
|
||||
|
|
|
@ -8,10 +8,8 @@
|
|||
</head>
|
||||
<body>
|
||||
<h3>New Project (continue)</h3>
|
||||
<p>Select required item on the left pane.</p>
|
||||
<p>If you want to provide a makefile yourself, select 'Makefile project'.
|
||||
<br>Else select required project type (Executable, Shared Library or Static Library).
|
||||
<br>In this case a makefile will be created by CDT.</p>
|
||||
<p>Select required project type (Executable, Shared Library or Static Library).
|
||||
<br>In this case a makefile will be created automatically by CDT.</p>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -2,15 +2,15 @@
|
|||
<html lang="en">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>CDT Standard Make Tutorial</title>
|
||||
<title>New CDT Project with your own makefile - Tutorial</title>
|
||||
<link rel="stylesheet" type="text/css" href="../help.css">
|
||||
|
||||
<script language="JavaScript">
|
||||
var first = 0;
|
||||
var last = 27;
|
||||
var last = 16;
|
||||
var position = 0;
|
||||
|
||||
var cdt_w_standardText= new Array(28)
|
||||
var cdt_w_standardText= new Array(17)
|
||||
cdt_w_standardText[0]='cdt_w_standard01.htm';
|
||||
cdt_w_standardText[1]='cdt_w_standard02.htm';
|
||||
cdt_w_standardText[2]='cdt_w_standard03.htm';
|
||||
|
@ -28,20 +28,8 @@ cdt_w_standardText[13]='cdt_w_standard14.htm';
|
|||
cdt_w_standardText[14]='cdt_w_standard15.htm';
|
||||
cdt_w_standardText[15]='cdt_w_standard16.htm';
|
||||
cdt_w_standardText[16]='cdt_w_standard17.htm';
|
||||
cdt_w_standardText[17]='cdt_w_standard18.htm';
|
||||
cdt_w_standardText[18]='cdt_w_standard19.htm';
|
||||
cdt_w_standardText[19]='cdt_w_standard20.htm';
|
||||
cdt_w_standardText[20]='cdt_w_standard21.htm';
|
||||
cdt_w_standardText[21]='cdt_w_standard22.htm';
|
||||
cdt_w_standardText[22]='cdt_w_standard23.htm';
|
||||
cdt_w_standardText[23]='cdt_w_standard24.htm';
|
||||
cdt_w_standardText[24]='cdt_w_standard25.htm';
|
||||
cdt_w_standardText[25]='cdt_w_standard26.htm';
|
||||
cdt_w_standardText[26]='cdt_w_standard27.htm';
|
||||
cdt_w_standardText[27]='cdt_w_standard28.htm';
|
||||
|
||||
|
||||
var cdt_w_standardPic= new Array(28)
|
||||
var cdt_w_standardPic= new Array(17)
|
||||
cdt_w_standardPic[0]='../images/cdt_w_standard01.png';
|
||||
cdt_w_standardPic[1]='../images/cdt_w_standard02.png';
|
||||
cdt_w_standardPic[2]='../images/cdt_w_standard03.png';
|
||||
|
@ -59,19 +47,8 @@ cdt_w_standardPic[13]='../images/cdt_w_standard14.png';
|
|||
cdt_w_standardPic[14]='../images/cdt_w_standard15.png';
|
||||
cdt_w_standardPic[15]='../images/cdt_w_standard16.png';
|
||||
cdt_w_standardPic[16]='../images/cdt_w_standard17.png';
|
||||
cdt_w_standardPic[17]='../images/cdt_w_standard18.png';
|
||||
cdt_w_standardPic[18]='../images/cdt_w_standard19.png';
|
||||
cdt_w_standardPic[19]='../images/cdt_w_standard20.png';
|
||||
cdt_w_standardPic[20]='../images/cdt_w_standard21.png';
|
||||
cdt_w_standardPic[21]='../images/cdt_w_standard22.png';
|
||||
cdt_w_standardPic[22]='../images/cdt_w_standard23.png';
|
||||
cdt_w_standardPic[23]='../images/cdt_w_standard24.png';
|
||||
cdt_w_standardPic[24]='../images/cdt_w_standard25.png';
|
||||
cdt_w_standardPic[25]='../images/cdt_w_standard26.png';
|
||||
cdt_w_standardPic[26]='../images/cdt_w_standard27.png';
|
||||
cdt_w_standardPic[27]='../images/cdt_w_standard28.png';
|
||||
|
||||
var screenText= new Array(28)
|
||||
var screenText= new Array(17)
|
||||
screenText[0]='Eclipse Workbench';
|
||||
screenText[1]='Opening the C/C++ Perspective';
|
||||
screenText[2]='The C++ Perspective';
|
||||
|
@ -89,17 +66,6 @@ screenText[13]='Stepping Through the Code in Outline View';
|
|||
screenText[14]='Save the File';
|
||||
screenText[15]='Displaying New Executables in the Projects View';
|
||||
screenText[16]='Selecting Run from the Menu';
|
||||
screenText[17]='Run Wizard';
|
||||
screenText[18]='Selecting the Program to Run';
|
||||
screenText[19]='Run Configuration';
|
||||
screenText[20]='Console View with Program Running';
|
||||
screenText[21]='Console View with Program Terminated';
|
||||
screenText[22]='Console View with Program Terminated';
|
||||
screenText[23]='Console View with Program Terminated';
|
||||
screenText[24]='Console View with Program Terminated';
|
||||
screenText[25]='Console View with Program Terminated';
|
||||
screenText[26]='Console View with Program Terminated';
|
||||
screenText[27]='Console View with Program Terminated';
|
||||
|
||||
|
||||
|
||||
|
@ -164,7 +130,7 @@ function goBack() {
|
|||
|
||||
</head>
|
||||
<body>
|
||||
<h2>CDT Standard Make Tutorial</h2>
|
||||
<h2>New CDT Project with your own makefile - Tutorial</h2>
|
||||
<IFRAME name=textFrame SRC="cdt_w_standard01.htm" TITLE="cdt_w_standard Text" MARGINWIDTH=0 MARGINHEIGHT=0 width=800 height=200 frameborder=0 SCROLLING=auto></IFRAME>
|
||||
<hr>
|
||||
<table width="120px" border="0" cellspacing="0" summary="">
|
||||
|
|
|
@ -13,7 +13,12 @@ function newWin(url) {
|
|||
</head>
|
||||
<body>
|
||||
<h3>Start Eclipse</h3>
|
||||
<p>We will now walk though the process of creating a simple Standard Make 'Hello World' application using the CDT.</p>
|
||||
<p>We will now walk though the process of creating a simple 'Hello World' application using the CDT and your own Makefile.</p>
|
||||
<p>Note, there were 2 separate project types in CDT 3.x : 'Managed make' and 'Standard make'. First one
|
||||
generates makefile automatically, second one requires user's makefile to build.</p>
|
||||
<p>In CDT 4.0, both these types are combined. In general, the only available project type can be switched
|
||||
to 'Managed make' or 'Standard make' mode at any time you wish. </p>
|
||||
<p>Current tutorial will describe a process of new project creation using your own Makefile.</p>
|
||||
|
||||
<p>The image below shows the standard Workbench. To start, open the C/C++ perspective.
|
||||
If you have not already installed the C/C++ perspective, you can find the procedures <a href="javascript:void(0)" onClick="newWin('cdt_w_install_cdt.htm')">here</a>.</p>
|
||||
|
|
|
@ -5,13 +5,15 @@
|
|||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Tutorial</title>
|
||||
<link rel="stylesheet" type="text/css" href="../help.css">
|
||||
<script language="JavaScript">
|
||||
function newWin(url) {
|
||||
window.open(url, 'hello_world_example', 'width=400, height=300, menubar=no, toolbar=no, status=no, resizable=yes, location=no, scrollbars=yes');}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<h3>Open the C/C++ Perspective</h3>
|
||||
<h3>Create a project</h3>
|
||||
|
||||
<p>Click <b>Window > Open Perspective > C/C++</b>.</p>
|
||||
<p><i>Note: If the C/C++ Perspective is not listed, select <b>Other...</b> and select it from the <b>Select Perspective</b> dialog box.</i></p>
|
||||
|
||||
<p>You can now create a <a href="javascript:void(0)" onClick="newWin('../concepts/cdt_c_projects.htm')">C/ C++ project </a>by clicking <b>File > New > Project</b>.</p>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -5,16 +5,12 @@
|
|||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Tutorial</title>
|
||||
<link rel="stylesheet" type="text/css" href="../help.css">
|
||||
<script language="JavaScript">
|
||||
function newWin(url) {
|
||||
window.open(url, 'hello_world_example', 'width=400, height=300, menubar=no, toolbar=no, status=no, resizable=yes, location=no, scrollbars=yes');}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<h3>C/C++ Perspective</h3>
|
||||
<h3>New Project Wizard</h3>
|
||||
|
||||
<p>This is the <a href="javascript:void(0)" onClick="newWin('../concepts/cdt_c_perspectives.htm')">C/C++ Perspective</a>, notice the C/C++ Projects view on the left, and the Outline view has moved to the right. The center area is reserved for your <b>Edit</b> view.</p>
|
||||
<p>There may be other views available in your workbench such as the <b>Navigator</b> or <b>Make Targets</b> views.
|
||||
<p>You will now see the <b>New Project</b> wizard. Open a C or C++ folder and select corresponding project.
|
||||
</p>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -5,15 +5,11 @@
|
|||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Tutorial</title>
|
||||
<link rel="stylesheet" type="text/css" href="../help.css">
|
||||
<script language="JavaScript">
|
||||
function newWin(url) {
|
||||
window.open(url, 'hello_world_example', 'width=400, height=300, menubar=no, toolbar=no, status=no, resizable=yes, location=no, scrollbars=yes');}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<h3>Create a project</h3>
|
||||
|
||||
<p>You can now create a <a href="javascript:void(0)" onClick="newWin('../concepts/cdt_c_projects.htm')">C/ C++ project </a>by clicking <b>File > New > Project</b>.</p>
|
||||
<h3>New Project</h3>
|
||||
<p>Enter a name for the project. You can also enter a new path for your project by deselecting the <b>Use Default Location</b>
|
||||
checkbox and entering the new path in the <b>Location</b> text box.</p>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -7,10 +7,9 @@
|
|||
<link rel="stylesheet" type="text/css" href="../help.css">
|
||||
</head>
|
||||
<body>
|
||||
<h3>New Project Wizard</h3>
|
||||
|
||||
<p>You will now see the <b>New Project</b> wizard. Open a C or C++ project and select Standard Make or Managed Make project.
|
||||
A Standard Make C/C++ project requires you to provide a makefile, a Managed Make project will create one for you.</p>
|
||||
<h3>New Project (continue)</h3>
|
||||
<p>Select 'Makefile project' on the left pane.
|
||||
In this case, you must provide makefile yourself to build your project.</p>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -7,10 +7,15 @@
|
|||
<link rel="stylesheet" type="text/css" href="../help.css">
|
||||
</head>
|
||||
<body>
|
||||
<h3>New Project</h3>
|
||||
<p>Enter a name for the project. You can also enter a new path for your project by deselecting the <b>Use Default Location</b>
|
||||
checkbox and entering the new path in the <b>Location</b> text box.</p>
|
||||
<p>Click <b>Next</b>.</p>
|
||||
<h3>New Project (continue)</h3>
|
||||
<p>Select required toolchain on the right pane.</p>
|
||||
<p>There can be several toolchains available, depending on compilers installed in your system.<br>
|
||||
Option 'Other toolchain' is usually default choice. In this case, toolchain settings
|
||||
are defined automatically by CDT.</p>
|
||||
<p>
|
||||
<p>Next page contains Configurations selection. Usually, we need not to go here while
|
||||
creating project with user-provided makefile.</p>
|
||||
<p>Click <b>Finish</b>.</p>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -7,11 +7,10 @@
|
|||
<link rel="stylesheet" type="text/css" href="../help.css">
|
||||
</head>
|
||||
<body>
|
||||
<h3>Project Refereneces</h3>
|
||||
<h3>New Project</h3>
|
||||
|
||||
<p>Now you will select your preferences for the project. <p>
|
||||
<p>This page is where you would select other referenced C/C++ projects,
|
||||
since this is a simple Hello World project you will not need to make any selections here.</p>
|
||||
<p>You should now see the new project in C/C++ Projects view.</p>
|
||||
<p>If C/C++ perspective was not set as current before, it will be selected now.</p>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -7,10 +7,9 @@
|
|||
<link rel="stylesheet" type="text/css" href="../help.css">
|
||||
</head>
|
||||
<body>
|
||||
<h3>Make Builder Settings</h3>
|
||||
<h3>Create a file</h3>
|
||||
|
||||
<p>Click the <b>Make Builder</b> tab. If your build environment has a build command that is not <tt>make</tt>, you need to change your <b>Build Command</b> from the default.
|
||||
To do so deselect the <b>Use default</b> checkbox and enter the build command in the text box.</p>
|
||||
<p>Create a new cpp file (such as main.cpp) by right clicking your project and selecting <b>New > Source File</b>.</p>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -7,10 +7,11 @@
|
|||
<link rel="stylesheet" type="text/css" href="../help.css">
|
||||
</head>
|
||||
<body>
|
||||
<h3>Error Parsers</h3>
|
||||
<p>Click the <b>Error Parsers</b> tab, select the Error Parsers you require for the project.
|
||||
You can also change the order in which Error Parsers are called.</p>
|
||||
<p>By default you can leave all parsers selected.</p>
|
||||
<h3>Create a file</h3>
|
||||
|
||||
<p>You should now see the <b>New File</b> wizard.</p>
|
||||
<p>Enter the name of your file in the <b>File name</b> text area then click <b>Finish</b>.</p>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -7,12 +7,10 @@
|
|||
<link rel="stylesheet" type="text/css" href="../help.css">
|
||||
</head>
|
||||
<body>
|
||||
<h3>Binary Parser Settings</h3>
|
||||
<p>Click the <b>Binary Parser</b> tab, select the Binary Parsers you require for the project, and in which order they are to be used.
|
||||
<p>It is important you chose the proper parser settings to ensure the accuracy of the <b>C/C++ Projects</b> view and the ability to
|
||||
successfully run and debug your programs.
|
||||
After you select the correct parser for your development environment and build your project,
|
||||
you can view the symbols of the .o file in the <b>C/C++ Projects</b> view.</p>
|
||||
<h3>New Project Files</h3>
|
||||
|
||||
<p>You should now see the new file located in the Projects View under the project, and the new file should be open in the <b>Editor</b> view.</p>
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
|
|
|
@ -1,16 +1,26 @@
|
|||
<!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>Tutorial</title>
|
||||
<link rel="stylesheet" type="text/css" href="../help.css">
|
||||
<meta http-equiv="Content-Language" content="en-us">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Tutorial</title>
|
||||
<link rel="stylesheet" type="text/css" href="../help.css">
|
||||
<script language="JavaScript">
|
||||
function newWin(url) {
|
||||
window.open(url, 'hello_world_example', 'width=400, height=300, menubar=no, toolbar=no, status=no, resizable=yes, location=no, scrollbars=yes');}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<h3>Discovery Options</h3>
|
||||
<p>Click the <b>Discovery Options</b> tab. This page defines the configuration for autodiscovery of include paths and preprocessor symbols for the parser which
|
||||
enables the parser to understand the contents of the C/C++ source code so that you may more effectively use the search and code completion features. </p>
|
||||
<p>Select the <b>Automate scanner configuration discovery</b> checkbox to configure the scanner discovery to run automatically.</p>
|
||||
|
||||
<h3>Enter code</h3>
|
||||
<p>Enter the code in the <a href="javascript:void(0)"
|
||||
onclick="newWin('hw_example.htm')" title="click here to get the code">main.cpp</a>
|
||||
file that was just created.
|
||||
You can double click the <b>main.cpp</b> tab in the <b>Editor</b>
|
||||
view to expand the view. <br>
|
||||
<i>Note: Leave a blank line at the end of the code, some compilers
|
||||
require one.</i></p>
|
||||
<p>You will notice an asterisk in front of the file name on the tab in
|
||||
the <b>Editor</b> view. The asterisk indicates that the file has
|
||||
changed but has not been saved.</p>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
@ -7,11 +7,9 @@
|
|||
<link rel="stylesheet" type="text/css" href="../help.css">
|
||||
</head>
|
||||
<body>
|
||||
<h3>C/C++ Indexer</h3>
|
||||
<h3>Create a makefile</h3>
|
||||
|
||||
<p>Create the makefile by <b>File > New > File</b>.</p>
|
||||
|
||||
<p>You can enable or disable the C/C++ Indexer here.
|
||||
The indexer is necessary for search and related features, like content assist and refactoring.
|
||||
While there may be situations where the indexer is not required, for this project you can leave it enabled.</p>
|
||||
<p>When you have completed setting your C/C++ project preferences, click <b>Finish</b>.
|
||||
</body>
|
||||
</html>
|
|
@ -7,10 +7,10 @@
|
|||
<link rel="stylesheet" type="text/css" href="../help.css">
|
||||
</head>
|
||||
<body>
|
||||
<h3>New Project</h3>
|
||||
<h3>Create a makefile</h3>
|
||||
|
||||
<p>You should now see the new project in the C/C++ Projects view.</p>
|
||||
<p>You should now see the <b>New File</b> wizard.</p>
|
||||
<p>Enter <b>makefile</b> for the name of the file in the <b>File name</b> text area then click <b>Finish</b>.</p>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
|
@ -5,12 +5,19 @@
|
|||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Tutorial</title>
|
||||
<link rel="stylesheet" type="text/css" href="../help.css">
|
||||
<script language="JavaScript">
|
||||
function newWin(url) {
|
||||
window.open(url, 'make_example', 'width=400, height=300, menubar=no, toolbar=no, status=no, resizable=yes, location=no, scrollbars=yes');
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<h3>Create a makefile</h3>
|
||||
<h3>Enter the make script</h3>
|
||||
|
||||
<p>You should now see the <b>New File</b> wizard.</p>
|
||||
<p>Enter <b>makefile</b> for the name of the file in the <b>File name</b> text area then click <b>Finish</b>.</p>
|
||||
<p>Enter the build instruction for your <a href="javascript:void(0)" onClick="newWin('make_example.htm')" title="Click here to get the code">makefile</a> that was just created.
|
||||
The Outline view will display the structure of the makefile as you add components.
|
||||
When you enter the code you will notice an asterisk in front of the file name on the tab in the <b>Editor</b> view, this tells you the file changed but has not been saved.</p>
|
||||
|
||||
<p><i>Note: Ensure you have tabs, not spaces before your indented code, as </i><tt>make</tt><i> will not accept spaces before commands.</i></p>
|
||||
</body>
|
||||
</html>
|
|
@ -5,19 +5,18 @@
|
|||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Tutorial</title>
|
||||
<link rel="stylesheet" type="text/css" href="../help.css">
|
||||
<script language="JavaScript">
|
||||
function newWin(url) {
|
||||
window.open(url, 'make_example', 'width=400, height=300, menubar=no, toolbar=no, status=no, resizable=yes, location=no, scrollbars=yes');
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<h3>Enter the make script</h3>
|
||||
<h3>Run the application</h3>
|
||||
|
||||
<p>Enter the build instruction for your <a href="javascript:void(0)" onClick="newWin('make_example.htm')" title="Click here to get the code">makefile</a> that was just created.
|
||||
The Outline view will display the structure of the makefile as you add components.
|
||||
When you enter the code you will notice an asterisk in front of the file name on the tab in the <b>Editor</b> view, this tells you the file changed but has not been saved.</p>
|
||||
<p>Navigate to the <b>C/C++ Projects</b> view, you will now see the executables listed. </p>
|
||||
|
||||
<p>You can run your application within the C/C++ Perspective, to do so click <b>Run > Open Run Dialog</b>.</p>
|
||||
|
||||
<p>You should now see the <b>Run</b> dialog box, double click <b>C/C++ Local Application</b>.
|
||||
This will create your Run Configuration. Select the new Run Configuration in the <b>Configurations:</b> view.</p>
|
||||
<p>Use <b>Browse</b> button to locate executable to run.</p>
|
||||
<p>Press <b>Run</b></p>
|
||||
|
||||
<p><i>Note: Ensure you have tabs, not spaces before your indented code, as </i><tt>make</tt><i> will not accept spaces before commands.</i></p>
|
||||
</body>
|
||||
</html>
|
|
@ -1,15 +0,0 @@
|
|||
<!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>Tutorial</title>
|
||||
<link rel="stylesheet" type="text/css" href="../help.css">
|
||||
</head>
|
||||
<body>
|
||||
<h3>Create a CPP file</h3>
|
||||
|
||||
<p>Create the main.cpp file by right clicking your project and selecting <b>New > File</b>.</p>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -1,16 +0,0 @@
|
|||
<!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>Tutorial</title>
|
||||
<link rel="stylesheet" type="text/css" href="../help.css">
|
||||
</head>
|
||||
<body>
|
||||
<h3>Create a CPP file</h3>
|
||||
|
||||
<p>You should now see the <b>New File</b> wizard.</p>
|
||||
<p>Enter <b>main.cpp</b> in the <b>File name</b> text area then click <b>Finish</b>.</p>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -1,17 +0,0 @@
|
|||
<!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>Tutorial</title>
|
||||
<link rel="stylesheet" type="text/css" href="../help.css">
|
||||
</head>
|
||||
<body>
|
||||
<h3>New Project Files</h3>
|
||||
|
||||
<p>You should now see the <b>main.cpp</b> file located in the <b>Projects</b> view under the project,
|
||||
and the <b>main.cpp</b> file should be open in the <b>Editor</b> view..</p>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -1,23 +0,0 @@
|
|||
<!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>Tutorial</title>
|
||||
<link rel="stylesheet" type="text/css" href="../help.css">
|
||||
<script language="JavaScript">
|
||||
function newWin(url) {
|
||||
window.open(url, 'hello_world_example', 'width=400, height=300, menubar=no, toolbar=no, status=no, resizable=yes, location=no, scrollbars=yes');
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<h3>Enter code</h3>
|
||||
|
||||
<p>Enter the code in the <a href="javascript:void(0)" onClick="newWin('hw_example.htm')" title="click here to get the code">main.cpp</a> file that was just created.
|
||||
You can double click the <b>main.cpp</b> tab in the <b>Editor</b> view to expand the view. </p>
|
||||
|
||||
<p><i>Note: Leave a blank line at the end of the code, some compilers require one.</i></p>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -1,17 +0,0 @@
|
|||
<!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>Tutorial</title>
|
||||
<link rel="stylesheet" type="text/css" href="../help.css">
|
||||
</head>
|
||||
<body>
|
||||
<h3>Build the project</h3>
|
||||
|
||||
<p>Save the <b>makefile</b> and <b>main.cpp</b> files by selecting them and typing <b>CTRL+S</b>, and then build your project by typing <b>CTRL+B</b>. </p>
|
||||
<p>You can read through the build messages in the <b>Console</b> view, if there are any errors in the code you can review them in the <b>Problems</b> view.</p>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -1,20 +0,0 @@
|
|||
<!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>Tutorial</title>
|
||||
<link rel="stylesheet" type="text/css" href="../help.css">
|
||||
</head>
|
||||
<body>
|
||||
<h3>Run the application</h3>
|
||||
|
||||
<p>Navigate to the <b>C/C++ Projects</b> view, you will now see the executables listed. </p>
|
||||
|
||||
<p>You can run your application within the C/C++ Perspective, to do so click <b>Run > Run</b>.</p>
|
||||
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -1,18 +0,0 @@
|
|||
<!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>Tutorial</title>
|
||||
<link rel="stylesheet" type="text/css" href="../help.css">
|
||||
</head>
|
||||
<body>
|
||||
<h3>Run Configuration</h3>
|
||||
|
||||
<p>You should now see the <b>Run Configurations</b> dialog box, navigate to the <b>Configurations:</b> view, and then double click <b>C/C++ Local</b>.
|
||||
This will create your Run Configuration. Select the new Run Configuration in the <b>Configurations:</b> view.</p>
|
||||
<p>Now click the <b>Main</b> tab and then the <b>Search</b> button.</p>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -1,14 +0,0 @@
|
|||
<!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>Tutorial</title>
|
||||
<link rel="stylesheet" type="text/css" href="../help.css">
|
||||
</head>
|
||||
<body>
|
||||
<h3>Run Configuration</h3>
|
||||
<p>Select the new Run Configuration in the <b>Configurations:</b> view and click the <b>Main</b> tab. This is where you select your C/C++ application and other settings that will impact how your application is run.</p>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -1,15 +0,0 @@
|
|||
<!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>Tutorial</title>
|
||||
<link rel="stylesheet" type="text/css" href="../help.css">
|
||||
</head>
|
||||
<body>
|
||||
<h3>Program Selection</h3>
|
||||
|
||||
<p>Enter <b>hello.exe</b> in the <b>C/C++ Application</b> field then click <b>Apply</b> and then <b>Run</b>.<p>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -1,18 +0,0 @@
|
|||
<!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>Tutorial</title>
|
||||
<link rel="stylesheet" type="text/css" href="../help.css">
|
||||
</head>
|
||||
<body>
|
||||
<h3>Console View</h3>
|
||||
|
||||
<p>You should now see the application running in the <b>Console</b> view.
|
||||
The <b>Console</b> will also show which application is running in a title bar.
|
||||
You will notice that the view can be configured to display different elements (such as user input elements) in different colors.</p>
|
||||
<p>Type in your name and hit Enter.</p>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -1,15 +0,0 @@
|
|||
<!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>Tutorial</title>
|
||||
<link rel="stylesheet" type="text/css" href="../help.css">
|
||||
</head>
|
||||
<body>
|
||||
<h3>Run complete</h3>
|
||||
|
||||
<p>The title bar in the <b>Console</b> view will show you when the program has terminated.</p>
|
||||
|
||||
</body>
|
||||
</html>
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 31 KiB |
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 36 KiB |
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 39 KiB |
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 49 KiB |
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 27 KiB |
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 31 KiB |
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 42 KiB |
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 57 KiB |
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 46 KiB |
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 54 KiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 56 KiB |
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 49 KiB |
Before Width: | Height: | Size: 9.7 KiB After Width: | Height: | Size: 53 KiB |
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 56 KiB |
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 35 KiB |
Before Width: | Height: | Size: 32 KiB |
Before Width: | Height: | Size: 9.7 KiB |
Before Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 29 KiB |
Before Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 31 KiB |
Before Width: | Height: | Size: 31 KiB |
|
@ -16,46 +16,50 @@
|
|||
<dl>
|
||||
<dt>Link view selection to active editor</dt>
|
||||
<dd>Select this checkbox to open an item selected in the Projects view, in the Editor view.</dd>
|
||||
<dt>Show file members in Project View</dt>
|
||||
<dd>Select this checkbox to browse your C and C++ file members in the Projects view.</dd>
|
||||
<dt>Follow #include's when producing the outline view.</dt>
|
||||
<dt>Follow unindexed header files when producing the outline view.</dt>
|
||||
<dd>Select this checkbox to follow all defined #includes when you produce the Outline view.<br>
|
||||
<b>Note: </b>This is not recommended for large projects or large files.</dd>
|
||||
<b>Note: </b>This is not recommended for large projects or large files.</dd>
|
||||
|
||||
</dl>
|
||||
|
||||
<h2>C/C++ Submenu Items</h2>
|
||||
|
||||
<p><dl>
|
||||
<dt>Appearance</dt>
|
||||
<dd>Controls appearance of C elements in viewers.</dd>
|
||||
<dt>Build Console</dt>
|
||||
<dd>Preferences for customize the appearance of the Build Console view.</dd>
|
||||
<dt>CDT build variables</dt>
|
||||
<dd>Displays a list of build variables (ex-build macros) available in CDT.</dd>
|
||||
<dt>Code style</dt>
|
||||
<dd>Defines default code style. You can select one of existing profiles or set your own style.</dd>
|
||||
<dt>Debug</dt>
|
||||
<dd>Preferences for customizing the C/C++ debugger.</dd>
|
||||
<dt>Editor</dt>
|
||||
<dd>Preferences for customizing the C/C++ editor.</dd>
|
||||
<dt>Code Templates</dt>
|
||||
<dd>Manipulate any of the common code templates that are predefined within the CDT.</dd>
|
||||
<dt>Debug</dt>
|
||||
<dd>Preferences for customizing the Debugger.</dd>
|
||||
<dt>GDB MI</dt>
|
||||
<dd>Preferences for customizing the GDB MI.</dd>
|
||||
<dt>Source Code Locations</dt>
|
||||
<dd>Modify, add or remove source code locations</dd>
|
||||
<dt>Editor</dt>
|
||||
<dd>Set preferences for the C/C++ editor</dd>
|
||||
<dt>Environment</dt>
|
||||
<dd>Displays a list of CDT-specific environment variables</dd>
|
||||
<dt>File Types</dt>
|
||||
<dd>Define which file extensions are linked to specific languages</dd>
|
||||
<dt>Make Targets</dt>
|
||||
<dd>Set preferences for make target build settings</dd>
|
||||
<dt>New Make Projects</dt>
|
||||
<dd>Set preferences for customizing Make Builder settings</dd>
|
||||
<dt>Search</dt>
|
||||
<dd>Set preferences for customizing the Search configuration</dd>
|
||||
<dt>Indexer</dt>
|
||||
<dd>Define global settings for indexer</dd>
|
||||
<dt>Language mappings</dt>
|
||||
<dd>Set correspondence between content types and available languages.</dd>
|
||||
<dt>Make</dt>
|
||||
<dd>Settings specific for 'make' builder</dd>
|
||||
<dt>New CDT project wizard</dt>
|
||||
<dd>Controls behaviour of New Project Wizard</dd>
|
||||
<dt>Property Pages settings</dt>
|
||||
<dd>Controls behaviour of property pages</dd>
|
||||
<dt>Template Default Values</dt>
|
||||
<dd>Defines values to be used in CDT project templates</dd>
|
||||
</dl></p>
|
||||
|
||||
|
||||
<p><img border="0" src="../images/ngref.gif" ALT="Related reference" width="143" height="21">
|
||||
<br>
|
||||
<a href="cdt_o_views.htm">Views</a></p>
|
||||
<img src="../images/ng00_04a.gif" ALT="IBM Copyright Statement" >
|
||||
<img src="../images/intl_07.gif" ALT="Intel Copyright Statement" >
|
||||
|
||||
</body>
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
<body>
|
||||
|
||||
<h1>Make Targets page, Preferences window</h1>
|
||||
<h1>Make page, Preferences window</h1>
|
||||
|
||||
<p>You can force the building of make targets in the background.</p>
|
||||
|
|
@ -3,8 +3,8 @@
|
|||
<!-- Defines topics that will be inserted under the C/C++ Development User Guide menu-->
|
||||
|
||||
<toc label="Getting Started">
|
||||
<topic label="CDT Managed Make Tutorial" href="getting_started/cdt_w_basic.htm"/>
|
||||
<topic label="CDT Standard Make Tutorial" href="getting_started/cdt_w_standard.htm"/>
|
||||
<topic label="New CDT Project with generated makefile - Tutorial" href="getting_started/cdt_w_basic.htm"/>
|
||||
<topic label="New CDT Project with your own makefile - Tutorial" href="getting_started/cdt_w_standard.htm"/>
|
||||
<topic label="CDT Importing an Existing Project Tutorial (Managed Make)" href="getting_started/cdt_w_import.htm"/>
|
||||
<topic label="CDT Importing an Existing Project Tutorial (Standard Make)" href="http://download.eclipse.org/tools/cdt/docs/tutorials/import_standard_tutorial/cdt_w_std_import.htm"/>
|
||||
<topic label="CDT Debugging Tutorial" href="http://download.eclipse.org/tools/cdt/docs/tutorials/debug_tutorial/cdt_w_debug.htm"/>
|
||||
|
|
|
@ -67,7 +67,7 @@
|
|||
</topic>
|
||||
|
||||
<topic label="File Types" href="reference/cdt_u_c_file_types.htm"/>
|
||||
<topic label="Make Targets" href="reference/cdt_u_make_targets_pref.htm"/>
|
||||
<topic label="Make" href="reference/cdt_u_make_pref.htm"/>
|
||||
|
||||
<topic label="New Make Projects properties" href="reference/cdt_o_proj_prop_pages.htm">
|
||||
<topic label="Make Builder" href="reference/cdt_u_newproj_buildset.htm"/>
|
||||
|
|