HOME
Generic Build Support (GBS) - User Manual
The flags_*.gbs files
Contents
Description
Example of a flags_*.gbs
Description
Purpose
The flags_type.gbs files are used to specify builder-specific flags.
The type specifies the associated source-file type (without the DOT)
The flags_type.gbs files may be placed in the following locations:
- $GBS_SYSBUILD_PATH
- $GBS_SYSBUILD_PATH/$build
- $GBS_BUILD_PATH
- $GBS_BUILD_PATH/$build
- $GBS_COMPONONENT_PATH/opt
- $GBS_COMPONONENT_PATH/opt/$build
And will be read in the specified order, overriding possible values of a higher level.
General
Please refer to .gbs files: General information
Additional for this file:
- The .include directive is not allowed
Contents:
Syntax:
One flag per line
A line containing spaces will be quoted unless the line also contains quotes (")
To prevent this, place elements on separate lines
Notes:
Flags may not be include-paths like -I and/or -L
These should be specified in the incs_*.gbs files.
Example of a flags_*.gbs:
#========================================================
# [superglo::test]FLAGS_C.GBS
#========================================================
-DTESTFLAG=1
###EOF###
flags.html
Copyright © Randy Marques of Randy Marques Consultancy - All rights reserved