New C/C++ Project With Existing Sources Wizard: Source Files

See Also 

The New C/C++ Project With Existing Sources wizard enables you to create a project using an existing makefile.

In the Source Files page, you select the folders that contain the source files associated with your project. The page automatically lists the folder that contains the existing makefile.

To add a source folder to your project:

  1. Click Add Folder to open the Select Source File Folder dialog box.
  2. Select a folder to add and click Select.

To remove a source folder from your project:

Exclude Pattern. Specifies any folders in the source directory that you do not want the IDE to use for source files. Type POSIX-style regular expressions to specify the files you want the IDE to ignore. The IDE provides the default pattern ^(nbproject)$ to exclude files in the project folders. You can add other folders to this pattern, for example use ^(nbproject|build|test|tests)$ to ignore files in build, test, and tests.

You can also add the folders to the project using the Add Folders button.

See also
New C/C++ Project With Existing Sources Wizard: Select Mode
New C/C++ Project With Existing Sources Wizard: Pre-Build Action
New C/C++ Project With Existing Sources Wizard: Build Actions
New C/C++ Project With Existing Sources Wizard: Code Assistance
New C/C++ Project With Existing Sources Wizard: Name and Location
Creating a C or C++ Project
About C and C++ Projects

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.