User guide

GUI Reference
Nios II C/C++ Projects View (Nios II C/C++ Perspective)
This view displays as part of the Nios II C/C++ perspective by default. You can also open
this view from the Nios II C/C++ perspective manually by pointing to Show View on the
Window menu, and then clicking Nios II C/C++ Projects.
The Nios II C/C++ Projects view presents project resources in the context of C/C++ project
development, providing visual cues and hierarchy to organize the various files in your projects.
Icons in the Nios II C/C++ Projects view are not necessarily associated with files in the file
system (i.e. on your hard drive). For example, object file resources display the names of
functions defined in the file.
A typical executable program consists of two or more individual projects
working in
conjunction. The altera.components project contains links to source code for the IP device
drivers, software packages, and other resources common to all projects.
The Nios II C/C++ Projects view is based on Eclipse's C/C++ Development Toolkit (CDT)
C/C++ Projects view. Refer to Related Topics
for more information about the C/C++ Projects
view. The resource selected in the Nios II C/C++ Projects view affects the information
displayed in other views.
Right-clicking on a project or project resource displays a context-sensitive menu of available
commands for the selected project or project resource. Most tasks related to developing
Nios II programs are available from this context-sensitive menu. The sections below define the
commands available on the context-sensitive menu for Nios II C/C++ application and Nios II
system library projects.
New
The New submenu allows you to create a new resource (file, folder, or project). New is also
available in the File menu. The following choices are available.
Nios II Software—Opens the Nios II Wizard for creating all types of software
projects. Refer to Nios II Wizard for details.
Project—Opens the New Project wizard, which allows you to create a new project of
any kind.
Nios II C/C++ Application—Opens directly to the New Project wizard for creating
Nios II C/C++ application projects. This is the recommended way to start a new
Nios II user application.
Nios II System Library —Opens directly to the New Project wizard for creating
Nios II system library projects.
Nios II User-Makefile C/C++ Application —Opens directly to the New Project
wizard for creating Nios II user-makefile C/C++ application projects.
Nios II C/C++ Library - Opens directly to the New Project wizard for creating
Nios II C/C++ library projects.
Source Folder—Opens the New Source Folder wizard to create a new source folder.
Folder - Opens the New Folder wizard to create a new folder of any type.
Source File—Opens the New Source File wizard to create a new source file.
Header File—Opens the New Header File wizard to create a new header file.
File - Opens the New File wizard to create a new file of any type.
Class—Opens the New C++ Class wizard to create a new C++ class.
143