GBS Logo HOME Generic Build Support (GBS) - User Manual
The sys.gbs file Bottom Doc. Button

Contents Bottom Doc. Button Top Document Button Down Section Button Blank

Description
Purpose| General| Definitions| VARIABLE-definition| EXCLUDE-definition| Notes
Example of a sys.gbs

Description Bottom Doc. Button Top Document Button Down Section Button Up Section Button

Purpose Bottom Doc. Button Top Document Button Down Section Button Up Section Button Down Chapter Button Blank

The sys.gbs file is located in the GBS_SYS_PATH directory is used to define general settings for generation and auditing.
Before GBS 3.00 this file was named sysbuild.gbs.

General Bottom Doc. Button Top Document Button Down Section Button Up Section Button Down Chapter Button Up Chapter Button

Please refer to .gbs files: General information

Additional for this file:

Definitions Bottom Doc. Button Top Document Button Down Section Button Up Section Button Down Chapter Button Up Chapter Button

VARIABLE EXCLUDE

VARIABLE-definition Bottom Doc. Button Top Document Button Down Section Button Up Section Button Down Chapter Button Up Chapter Button

Purpose:

Allows environment-variables to be set while calling a GBS command on the command-line.
These environment-variables can then be used by the generation/audit scripts.
For each variable a selection of value_names and optionally a value_string can be set
They will be made available with GBS_APP_value_name and optionally GBS_APP_value_name_VALUE

Syntax:

VARIABLE variable_name
DEFAULT = value_name
VALUE = value_name => value_string

Semantics:

variable_name
Preferably in uppercase
DEFAULT
Single Occurrence. Single value, Optional
Specifies the default value_name
If omitted, the first value_name if the following list will be taken as default
VALUE
Multiple occurrence, at least one (or VALUES) must be specified

EXCLUDE-definition Bottom Doc. Button Top Document Button Down Section Button Up Section Button Down Chapter Button Up Chapter Button

Purpose:

Specify files in the src directories that are to be ignored during generation.

Syntax:

EXCLUDE regular-expression-list

Semantics:

EXCLUDE
May be specified more than once
regular_expression-list
Perl regular-expressions specifying files to be skipped
e.g.
  \.tst$ == all filenames ending with '.tst'
  ^MEM == all filenames starting with 'MEM'

Notes: Bottom Doc. Button Top Document Button Down Section Button Up Section Button Blank Up Chapter Button

None

Example of a sys.gbs: Bottom Doc. Button Top Document Button Blank Up Section Button

#
#   SYS.GBS
#

#
#   ENVIRONMENT VARIABLES
#
VARIABLE PROFILING
    VALUE       = NO  => NO
    VALUE       = YES => YES

VARIABLE COMPILER
    DEFAULT     = GHS
    VALUE       = GHS  => -ghs
    VALUE       = DIAB => -dia

#
#   SRC EXCLUDES
#
EXCLUDE \.mcp$ \.cvs$

##EOF##

sys.html