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_SYSGEN_PATH
- $GBS_SYSGEN_PATH/$target
- $GBS_GEN_PATH
- $GBS_GEN_PATH/$target
- $GBS_COMPONONENT_PATH/opt
- $GBS_COMPONONENT_PATH/opt/$target
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###
Copyright © Randy Marques of Randy Marques Consultancy - All rights reserved