Skip to content
rubenvb edited this page Aug 20, 2012 · 2 revisions

Definition

global is the name of the unique target that allows to define options and file/directory lists that are to be shared across all targets in that project file. It prevents code repetition in the project files.

Example

global
{
  # all other targets will include these directories in their search path
  SOURCE_DIRS src
  HEADER_DIRS include
}

Remarks

  • All targets in sub sections will inherit everything of the upper global targets. Be careful adding source files to this target.
Clone this wiki locally