2.4.3 Add an include path

Select the build tool node on the project tree and select the [Compile Options] tab on the Property panel.

The include path setting is made with the [Additional include paths] property in the [Preprocess] category.

Figure 2.22

[Additional include paths] Property

 

If you click the [...] button, the Path Edit dialog box will open.

Figure 2.23

Path Edit Dialog Box

 

Enter the include path per line in [Path(One path per one line)].

You can specify up to 259 characters per line, up to 256 lines.

Remark 1.

This property supports placeholders.
If a line is double clicked in [Placeholder], the placeholder will be reflected in [Path(One path per one line)].

Remark 2.

You can also specify the include path by one of the following procedures.

-

Drag and drop the folder using such as Explorer.

-

Click the [Browse...] button, and then select the folder in the Browse For Folder dialog box.

-

Double click a row in [Placeholder].

Remark 3.

Select the [Include subfolders automatically] check box before clicking the [Browse...] button to add all paths under the specified one (down to 5 levels) to [Path(One path per one line)].

 

If you click the [OK] button, the entered include paths are displayed as subproperties.

Figure 2.24

[Additional include paths] Property (After Adding Include Paths)

 

To change the include paths, you can use the [...] button or enter the path directly in the text box of the subproperty.

When the include path is added to the project tree, the path is added to the top of the subproperties automatically.

Remark

You can also set the option in the same way with the [Additional include paths] property in the [Frequently Used Options(for Compile)] category on the [Common Options] tab.