FaqCplusPlusEditUserPaths

How can I edit user include paths and macros?

In the properties of the project, logical folder, or file.

In NetBeans 6.0 and later: In the Projects window, right-click the project, logical folder, or file you want to change. Choose Properties, then select Build > C Compiler or Build > C++ Compiler. You can browse for Include Directories and enter Preprocessor Definitions for macros.

In NetBeans 5.5.1: In the Projects window, right-click the project, logical folder, or file you want to change. Choose Properties, then select Configuration Properties > C/C++ > C Compiler > General, or Configuration Properties > C/C++ > C++ Compiler > General.

You can specify whether or not properties should be inherited from the project and from the logical folder to the file. A file has properties for the C compiler or the C++ compiler, depending on the file extension. Projects and folders have properties for the C compiler and C++ compiler.


Applies to: NetBeans 5.5.1 and later
Platforms: all

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo