Projects Window

See Also 

The Projects window is the main entry point to your projects. It shows logical view of important project contents. You can open the Projects window by choosing Window > Projects (Ctrl-1).

You can view all of your project contents in a directory-based view in the Files window. To open the Files window, choose Window > Files (Ctrl-2).

Logical Folders

A C or C++ Application or Library project is created with four logical folders, which are displayed in the Projects window:

A C or C++ Project with an Existing Makefile is created with one logical folder, Important Files.

A logical folder is not a directory. It is a way for you to organize your files, and does not reflect where the files are physically stored. Files added to the Source Files folder, Header Files folder, and other logical folders are automatically part of a project and are compiled when you build the project.

Files added to the Important Files folder are not part of the project and are not compiled when you build the project. These files are just for reference and are convenient for projects with existing makefiles.

Project Icons

The following icon is used for C and C++ projects in the Projects window.

Icon Description
C/C++ project icon C/C++ Application Project
C/C++ Dynamic Library Project
C/C++ Static Library Project
C/C++ Project with Existing Makefile

Main Project

Whenever you have multiple projects open, one project should always be set as the main project. The IDE provides shortcut commands to quickly build and run the main project.

In the Projects window, the main project is shown in bold. You can set any project as the main project by right-clicking its project icon and choosing Set Main Project.

Pop-up Menu

Each node in the Projects window has a pop-up menu of commands that you can run on that node. You open a node's pop-up menu by right-clicking the node. The pop-up menu for project nodes contains all of the major project commands, like Build and Run. The pop-up menu also contains a Properties command, which you can use to configure your project.

See Also
C and C++ Development Overview
Files Window

Legal Notices