When you set the project properties for your C or C++ project, the relevant properties apply to all folders and files in the project.
By default, a folder inherits the include directories , preprocessor definitions, and C/C++ standard from the project. You can choose to have a folder not inherit these properties.
To modify folder properties:
You can set the following properties for the files in a specific folder:
Include Directories and Headers. Type the absolute or relative path to the directories containing headers for your project, or click the button to browse to the directories and add them. On the file browser dialog box, you can specify Absolute or Relative path.
Preprocessor Definitions. Add definitions for macros used by the project. Click the text field or the button to open the Preprocessor Definitions dialog box to add definitions.
Preprocessor Undefined. Add definitions for macros used by the project. Click the text field or the button to open the Preprocessor Definitions dialog box to add definitions.
C Standard. Specifies whether project sources should be parsed as C89 code or C99 code.
C++ Standard. Specifies whether project sources should be parsed as C++98 code or C++11 code.
| See also | |
|---|---|
|
Setting C and C++ Compiler
Options C/C++ Project Properties Dialog Box: Compiler (General) |
|
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.