1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-22 22:22:11 +02:00

From Leo: a patch for the Getting Started -> CDT Importing an Existing Project Tutorial to match the updated MBS

This commit is contained in:
David Daoust 2004-12-06 18:29:53 +00:00
parent 0feec5d746
commit e2e0f90bc6
43 changed files with 485 additions and 4 deletions

View file

@ -13,8 +13,9 @@
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none" href="cdt_w_basic.htm">CDT Managed Make Tutorial</a><br>
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none" href="cdt_w_standard.htm">CDT Standard Make Tutorial</a><br>
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none" href="http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/cdt-home/user/Tutorials.html?cvsroot=Tools_Project">CDT Importing an Existing Project Tutorial</a><br>
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none" href="http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/cdt-home/user/Tutorials.html?cvsroot=Tools_Project">CDT Debugging Tutorial</a><br>
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none" href="cdt_w_import.htm">CDT Importing an Existing Project Tutorial (Managed Make)</a><br>
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none" href="http://download.eclipse.org/tools/cdt/docs/tutorials/import_standard_tutorial/cdt_w_std_import.htm">CDT Importing an Existing Project Tutorial (Standard Make)</a><br>
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none" href="http://download.eclipse.org/tools/cdt/docs/tutorials/debug_tutorial/cdt_w_debug.htm">CDT Debugging Tutorial</a><br>
<br>
<img src="../images/trans.gif" border="0" width="25" height="1" alt=""><a style="text-decoration:none" href="cdt_w_existing_code.htm">How to bring C/C++ source into Eclipse</a><br>

View file

@ -0,0 +1,158 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//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>CDT Importing an Existing Managed Make Project Tutorial</title>
<link rel="stylesheet" type="text/css" href="../help.css">
<script language="JavaScript">
var first = 0;
var last = 19;
var position = 0;
var cdt_w_importText= new Array(20)
cdt_w_importText[0]='cdt_w_import01.htm';
cdt_w_importText[1]='cdt_w_import02.htm';
cdt_w_importText[2]='cdt_w_import03.htm';
cdt_w_importText[3]='cdt_w_import04.htm';
cdt_w_importText[4]='cdt_w_import05.htm';
cdt_w_importText[5]='cdt_w_import07.htm';
cdt_w_importText[6]='cdt_w_import08.htm';
cdt_w_importText[7]='cdt_w_import09.htm';
cdt_w_importText[8]='cdt_w_import10.htm';
cdt_w_importText[9]='cdt_w_import11.htm';
cdt_w_importText[10]='cdt_w_import12.htm';
cdt_w_importText[11]='cdt_w_import13.htm';
cdt_w_importText[12]='cdt_w_import14.htm';
cdt_w_importText[13]='cdt_w_import15.htm';
cdt_w_importText[14]='cdt_w_import16.htm';
cdt_w_importText[15]='cdt_w_import17.htm';
cdt_w_importText[16]='cdt_w_import18.htm';
cdt_w_importText[17]='cdt_w_import19.htm';
cdt_w_importText[18]='cdt_w_import20.htm';
cdt_w_importText[19]='cdt_w_import21.htm';
var cdt_w_importPic= new Array(20)
cdt_w_importPic[0]='../images/cdt_w_import01.png';
cdt_w_importPic[1]='../images/cdt_w_import02.png';
cdt_w_importPic[2]='../images/cdt_w_import03.png';
cdt_w_importPic[3]='../images/cdt_w_import04.png';
cdt_w_importPic[4]='../images/cdt_w_import05.png';
cdt_w_importPic[5]='../images/cdt_w_import07.png';
cdt_w_importPic[6]='../images/cdt_w_import08.png';
cdt_w_importPic[7]='../images/cdt_w_import09.png';
cdt_w_importPic[8]='../images/cdt_w_import10.png';
cdt_w_importPic[9]='../images/cdt_w_import11.png';
cdt_w_importPic[10]='../images/cdt_w_import12.png';
cdt_w_importPic[11]='../images/cdt_w_import13.png';
cdt_w_importPic[12]='../images/cdt_w_import14.png';
cdt_w_importPic[13]='../images/cdt_w_import15.png';
cdt_w_importPic[14]='../images/cdt_w_import16.png';
cdt_w_importPic[15]='../images/cdt_w_import17.png';
cdt_w_importPic[16]='../images/cdt_w_import18.png';
cdt_w_importPic[17]='../images/cdt_w_import19.png';
cdt_w_importPic[18]='../images/cdt_w_import20.png';
cdt_w_importPic[19]='../images/cdt_w_import21.png';
var screenText= new Array(20)
screenText[0]='Eclipse Workbench displaying The C++ Perspective';
screenText[1]='Creating a New Project';
screenText[2]='New Project Wizard';
screenText[3]='New Managed Make C++ Project';
screenText[4]='Select a Target';
screenText[5]='C/C++ Indexer Configuration';
screenText[6]='New C++ Project in the Workbench';
screenText[7]='New C++ Project files';
screenText[8]='Build the Project';
screenText[9]='Build complete';
screenText[10]='Change Project Properties';
screenText[11]='Enable C/C++ Indexer';
screenText[12]='C/C++ Indexer running';
screenText[13]='Selecting Run from the Menu';
screenText[14]='Run Wizard';
screenText[15]='Run Configuration';
screenText[16]='Selecting a Project';
screenText[17]='Selecting a Program to Run';
screenText[18]='Run Configuration';
screenText[19]='Console View with Program Running';
function nav_a() {
document.back.src='../images/icon_back.png';
document.back.title='Back';
document.home.src='../images/icon_previous.png';
document.home.title='Start Over';
document.next.src='../images/icon_forward.png';
document.next.title='Next';
};
function nav_b() {
document.back.src='../images/trans.gif';
document.back.title='';
document.home.src='../images/trans.gif';
document.home.title='';
document.next.src='../images/icon_forward.png';
document.next.title='Next';
};
function nav_e() {
document.back.src='../images/icon_back.png';
document.back.title='Back';
document.home.src='../images/icon_previous.png';
document.home.title='Start Over';
document.next.src='../images/trans.gif';
document.next.title='';
};
function show() {
textFrame.location.href = cdt_w_importText[position];
document.screen.src = cdt_w_importPic[position];
document.screen.alt = screenText[position];
}
function reset() {
position = first;
show();
nav_b();
}
function goNext() {
if ( position == first ) { nav_a(); };
if ( position < last ) { position++; show(); }
if ( position == last ) { nav_e(); }
}
function goBack() {
if ( position == last ) { nav_a(); };
if ( position > first ) { position--; show()};
if ( position == first ) { nav_b(); };
}
</script>
</head>
<body>
<h2>CDT Importing an Existing Managed Make Project Tutorial</h2>
<center>
<IFRAME name=textFrame SRC="cdt_w_import01.htm" TITLE="cdt_w_import Text" MARGINWIDTH=0 MARGINHEIGHT=0 width=800 height=200 frameborder=0 SCROLLING=auto></IFRAME>
<table width="600px" border="0" cellspacing="0" summary="">
<tr>
<td><img src="../images/trans.gif" align="left" width="22" height="22" onClick="goBack();" title="" name="back"></td>
<td><center><img src="../images/trans.gif" width="22" height="22" onClick="reset();" title="" name="home"></center></td>
<td><img src="../images/icon_forward.png" align="right" width="22" height="22" onClick="goNext();" title="Next" name="next" ></td>
</tr>
</table>
<p><img src="../images/cdt_w_import01.png" align="center" width="800" height="600" alt="Eclipse Workbench displaying The C++ Perspective" name="screen" ></p>
</center>
<img src="../images/ng00_04a.gif" ALT="IBM Copyright Statement" >
</body>
</html>

View file

@ -0,0 +1,15 @@
<!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>C/C++ Perspective</h3>
<p>We will now walk though the process of importing a simple Managed Make application using the CDT.</p>
<p>The image below shows the standard workbench with the C/C++ Perspective.</p>
</body>
</html>

View file

@ -0,0 +1,15 @@
<!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 project</h3>
<p>Create a new C/ C++ project for your existing code by clicking <b>File &gt; New &gt; Project</b>.</p>
</body>
</html>

View file

@ -0,0 +1,16 @@
<!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 Wizard</h3>
<p>You will now see the <b>New Project</b> wizard. For this example open a C++ project and select Managed Make project. </p>
<p>A Standard Make C/C++ project requires you to provide a makefile, a Managed Make project will create one for you. So if your project already has a makefile you would choose a Standard Make project.</p>
</body>
</html>

View file

@ -0,0 +1,21 @@
<!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>
<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>
<body>
<h3>New Project</h3>
<p>Enter a name for the project and enter the path for your project by deselecting the <b>Use Default</b>
checkbox and entering the path to your project in the <b>Location</b> text box. Click <a href="javascript:void(0)" onClick="newWin('http://download.eclipse.org/tools/cdt/docs/tutorials/import_managed_tutorial/import_sample.zip')" title="click here to get the code">here</a> to download this example.</p>
<p>Click <b>Next</b>.</p>
</body>
</html>

View file

@ -0,0 +1,15 @@
<!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>Select a Project Type</h3>
<p>Select the type of project that you want to build, and the default configurations to be created.</p>
<p>Click <b>Next</b>.</p>
</body>
</html>

View file

@ -0,0 +1,15 @@
<!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>Additional Project Settings</h3>
<p>Click the <b>C/C++ Indexer</b> tab, ensure Enable C/C++ Indexing is deselected for now. You will enable it later, otherwise search capabilities, and other tools that require search, will be disabled for your project.
<p>Click <b>Finish</b> to close the dialog box.</p>
</body>
</html>

View file

@ -0,0 +1,15 @@
<!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</h3>
<p>You should now see the new project in the C/C++ Projects view.</p>
</body>
</html>

View file

@ -0,0 +1,15 @@
<!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>Project Files</h3>
<p>You should also see new 'dot' files in your legacy project's root directory, these are CDT project files.</p>
</body>
</html>

View file

@ -0,0 +1,15 @@
<!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 Project</h3>
<p>You can now build your project by selecting <b>Project &gt; Build All</b> from the file menu.</p>
</body>
</html>

View file

@ -0,0 +1,15 @@
<!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 Project</h3>
<p>After the project's build is complete, the results will be displayed in the <b>Console</b> view and new objects, such as binaries and includes, will be shown in the <b>Projects</b> view.</p>
</body>
</html>

View file

@ -0,0 +1,16 @@
<!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>Change Project Properties</h3>
<p>You should now enable the indexer, to do so right click on the project and select <b>Properties</b>.</p>
</body>
</html>

View file

@ -0,0 +1,17 @@
<!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>C/C++ Indexer</h3>
<p>Select <b>C/C++ Indexer</b> and click <b>Enable C/C++ Indexing</b>. The Indexer is required for search capabilities and other tools that require search. If the indexer is not selected these tools will be disabled for your project. </p>
</body>
</html>

View file

@ -0,0 +1,18 @@
<!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>C/C++ Indexer</h3>
<p>The indexer will now start discovery, you can monitor the progress in the bottom right corner of the eclipse window. Please keep in mind this can take a substantial amount of time for very large projects.</p>
</body>
</html>

View file

@ -0,0 +1,16 @@
<!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>You can run your application within the C/C++ Perspective, to do so click <b>Run > Run...</b><p>
</body>
</html>

View file

@ -0,0 +1,17 @@
<!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, select<b>C/C++ Local</b> and click <b>New</b>.
This will create your Run Configuration. <p>
</body>
</html>

View file

@ -0,0 +1,16 @@
<!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 to edit your run configuration. </p>
<p>You can change the name of your run configuration by entering a new name in the<b> Name:</b> text area. </p>
</body>
</html>

View file

@ -0,0 +1,16 @@
<!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>To select the project, click the <b>Browse</b> button beside the <b>Project:</b> text area. From the <b>Project Selection</b> window, select the project and click <b>OK</b>.<p>
</body>
</html>

View file

@ -0,0 +1,16 @@
<!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 <b>C/C++ Application</b> you want to execute by clicking the <b>Search</b> button and from the <b>Program Selection</b> window choose the appropriate binary from the list and click <b>OK</b>.</p>
</body>
</html>

View file

@ -0,0 +1,16 @@
<!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>Click <b>Apply</b> to save the run configuration and then click <b>Run</b>.</p>
</body>
</html>

View file

@ -0,0 +1,16 @@
<!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>
</body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

View file

@ -5,8 +5,9 @@
<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="CDT Importing an Existing Project Tutorial" href="http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/cdt-home/user/Tutorials.html?cvsroot=Tools_Project"/>
<topic label="CDT Debugging Tutorial" href="http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/cdt-home/user/Tutorials.html?cvsroot=Tools_Project"/>
<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"/>
<topic label="How to bring C/C++ source files into Eclipse" href="getting_started/cdt_w_existing_code.htm"/>
<topic label="Updating the CDT" href="getting_started/cdt_w_install_cdt.htm"/>
</toc>