mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-09-09 11:33:20 +02:00
Bug 185657.
This commit is contained in:
parent
eceddd3dae
commit
5a62498557
2 changed files with 22 additions and 5 deletions
|
@ -1,4 +1,5 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
<cheatsheet title="Creating C/C++ projects">
|
<cheatsheet title="Creating C/C++ projects">
|
||||||
<intro href="/org.eclipse.cdt.doc.user/concepts/cdt_c_projects.htm">
|
<intro href="/org.eclipse.cdt.doc.user/concepts/cdt_c_projects.htm">
|
||||||
<description>
|
<description>
|
||||||
|
@ -37,26 +38,34 @@
|
||||||
</item>
|
</item>
|
||||||
<item title="Building projects and inspecting files" dialog="true" skip="false" href="/org.eclipse.cdt.doc.user/tasks/cdt_o_build_task.htm">
|
<item title="Building projects and inspecting files" dialog="true" skip="false" href="/org.eclipse.cdt.doc.user/tasks/cdt_o_build_task.htm">
|
||||||
<description>
|
<description>
|
||||||
Build the program to create a binary and examine it in Outline and C/C++ Project views.
|
Build the program to create a binary and examine it in Project Explorer and Outline views.
|
||||||
</description>
|
</description>
|
||||||
<subitem label="Click Project > Build All to create a binary of your source file." skip="true">
|
<subitem label="Click Project > Build All to create a binary of your source file." skip="true">
|
||||||
|
<!--
|
||||||
<command serialization="org.eclipse.ui.project.buildAll" confirm="false">
|
<command serialization="org.eclipse.ui.project.buildAll" confirm="false">
|
||||||
</command>
|
</command>
|
||||||
|
-->
|
||||||
</subitem>
|
</subitem>
|
||||||
<subitem label="In the Project Explorer view, open the Binaries element and examine the program's binary." skip="true">
|
<subitem label="In the Project Explorer view, open the Binaries element and examine the program's binary." skip="true">
|
||||||
</subitem>
|
</subitem>
|
||||||
<subitem label="Open the .cpp file in the project and examine the Outline view." skip="true">
|
<subitem label="Open the .cpp file in the project and examine the Outline view." skip="true">
|
||||||
|
<command serialization="org.eclipse.ui.views.showView(org.eclipse.ui.views.showView.viewId=org.eclipse.cdt.ui.edit.open.outline)" confirm="false">
|
||||||
|
</command>
|
||||||
|
<!--
|
||||||
<command serialization="org.eclipse.cdt.ui.edit.open.outline" confirm="false">
|
<command serialization="org.eclipse.cdt.ui.edit.open.outline" confirm="false">
|
||||||
</command>
|
</command>
|
||||||
|
-->
|
||||||
</subitem>
|
</subitem>
|
||||||
</item>
|
</item>
|
||||||
<item title="Running the program" dialog="true" skip="false" href="/org.eclipse.cdt.doc.user/reference/cdt_u_run_dbg_main.htm">
|
<item title="Running the program" dialog="true" skip="false" href="/org.eclipse.cdt.doc.user/reference/cdt_u_run_dbg_main.htm">
|
||||||
<description>
|
<description>
|
||||||
The final step is to create a run configuration that defines how the program is launched. Note you can define multiple run configurations if desired, each with its own settings.
|
The final step is to create a run configuration that defines how the program is launched. Note you can define multiple run configurations if desired, each with its own settings.
|
||||||
</description>
|
</description>
|
||||||
<subitem label="Select the project and click Run > Run.. to launch the program." skip="false">
|
<subitem label="Select the project and click Run As > Open Run Dialog... to launch the program." skip="false">
|
||||||
|
<!--
|
||||||
<command serialization="org.eclipse.debug.ui.commands.OpenRunConfigurations" confirm="false">
|
<command serialization="org.eclipse.debug.ui.commands.OpenRunConfigurations" confirm="false">
|
||||||
</command>
|
</command>
|
||||||
|
-->
|
||||||
</subitem>
|
</subitem>
|
||||||
<subitem label="Create a run configuration by double-clicking the C/C++ Local Application item." skip="false">
|
<subitem label="Create a run configuration by double-clicking the C/C++ Local Application item." skip="false">
|
||||||
</subitem>
|
</subitem>
|
||||||
|
|
|
@ -40,8 +40,10 @@
|
||||||
For a project to work it needs files. In this step you import your old project files into your new C/C++ project.
|
For a project to work it needs files. In this step you import your old project files into your new C/C++ project.
|
||||||
</description>
|
</description>
|
||||||
<subitem label="Click File > Import and then use one of the following import methods." skip="true">
|
<subitem label="Click File > Import and then use one of the following import methods." skip="true">
|
||||||
|
<!--
|
||||||
<command serialization="org.eclipse.ui.file.import" confirm="false">
|
<command serialization="org.eclipse.ui.file.import" confirm="false">
|
||||||
</command>
|
</command>
|
||||||
|
-->
|
||||||
</subitem>
|
</subitem>
|
||||||
<subitem label="To import files from another project, click General > Existing Projects into Workspace." skip="true">
|
<subitem label="To import files from another project, click General > Existing Projects into Workspace." skip="true">
|
||||||
</subitem>
|
</subitem>
|
||||||
|
@ -53,14 +55,18 @@
|
||||||
Build the program to create a binary and examine it in Outline and C/C++ Project views.
|
Build the program to create a binary and examine it in Outline and C/C++ Project views.
|
||||||
</description>
|
</description>
|
||||||
<subitem label="Click Project > Build All to create a binary of your source file." skip="true">
|
<subitem label="Click Project > Build All to create a binary of your source file." skip="true">
|
||||||
|
<!--
|
||||||
<command serialization="org.eclipse.ui.project.buildAll" confirm="false">
|
<command serialization="org.eclipse.ui.project.buildAll" confirm="false">
|
||||||
</command>
|
</command>
|
||||||
|
-->
|
||||||
</subitem>
|
</subitem>
|
||||||
<subitem label="In the Project Explorer view, open the Binaries element and examine the program's binary." skip="true">
|
<subitem label="In the Project Explorer view, open the Binaries element and examine the program's binary." skip="true">
|
||||||
</subitem>
|
</subitem>
|
||||||
<subitem label="Open the .cpp file in the project and examine the Outline view." skip="true">
|
<subitem label="Open the .cpp file in the project and examine the Outline view." skip="true">
|
||||||
|
<!--
|
||||||
<command serialization="org.eclipse.cdt.ui.edit.open.outline" confirm="false">
|
<command serialization="org.eclipse.cdt.ui.edit.open.outline" confirm="false">
|
||||||
</command>
|
</command>
|
||||||
|
-->
|
||||||
</subitem>
|
</subitem>
|
||||||
</item>
|
</item>
|
||||||
<item title="Setup project properties" dialog="true" skip="false" href="/org.eclipse.cdt.doc.user/reference/cdt_u_sprop_indexer.htm">
|
<item title="Setup project properties" dialog="true" skip="false" href="/org.eclipse.cdt.doc.user/reference/cdt_u_sprop_indexer.htm">
|
||||||
|
@ -76,9 +82,11 @@
|
||||||
<description>
|
<description>
|
||||||
Create a run configuration that defines how the program is launched. Note you can define multiple run configurations if desired, each with its own settings.
|
Create a run configuration that defines how the program is launched. Note you can define multiple run configurations if desired, each with its own settings.
|
||||||
</description>
|
</description>
|
||||||
<subitem label="Select the project and click Run > Run.. to launch the program." skip="false">
|
<subitem label="Select the project and click Run As > Open Run Dialog... to launch the program." skip="false">
|
||||||
|
<!--
|
||||||
<command serialization="org.eclipse.debug.ui.commands.OpenRunConfigurations" confirm="false">
|
<command serialization="org.eclipse.debug.ui.commands.OpenRunConfigurations" confirm="false">
|
||||||
</command>
|
</command>
|
||||||
|
-->
|
||||||
</subitem>
|
</subitem>
|
||||||
<subitem label="Create a run configuration by double-clicking the C/C++ Local Application item." skip="false">
|
<subitem label="Create a run configuration by double-clicking the C/C++ Local Application item." skip="false">
|
||||||
</subitem>
|
</subitem>
|
||||||
|
|
Loading…
Add table
Reference in a new issue