GlobalProjectOptions

The GlobalProjectOptions element specifies Project level options for all files contained within the project. The GlobalProjectOptions element and its attributes are not required.

The following list describes the attributes for the GlobalProjectOptions element:

  • include_paths: String value. Semicolon-separated list of include paths to apply to all files in the project.
  • macros: String value. Semicolon-separated list of macros to apply to all files in the project.
  • compiler_options: String value. List of compiler options, separated by a space, to apply to all files in the project. Do not specify include paths and macros here.

Example

The following is an example line from the Properties file that makes use of all attributes:

<GlobalProjectOptions include_paths="/usr/include;/usr/local/include"
macros="DEBUG;WIN32" compiler_options="-f non-const-strings"/>

Description

  • include_paths="/usr/include;/usr/local/include" adds the path to the Includes section of the project configuration.
  • macros= "DEBUG;WIN32" adds DEBUG and WIN32 macros to the Macros section of the project configuration.
  • compiler_options= adds the compiler options to the Options/Command Line section of the project Configuration.