summaryrefslogtreecommitdiff
path: root/rules/CC/RULES
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2023-04-19 10:54:49 +0200
committerKlaus Aehlig <klaus.aehlig@huawei.com>2023-04-19 12:22:57 +0200
commit622e9213f9e801b71a5e6c9e13b5f92dddf040f7 (patch)
tree3a39f53e67f1bf420c8bf26e33361b5f9433fba6 /rules/CC/RULES
parent718a695803b9ac005b580be6f7ca616eaed9be3a (diff)
downloadrules-cc-622e9213f9e801b71a5e6c9e13b5f92dddf040f7.tar.gz
["CC", "defaults"] add basic field documentation
Diffstat (limited to 'rules/CC/RULES')
-rw-r--r--rules/CC/RULES34
1 files changed, 34 insertions, 0 deletions
diff --git a/rules/CC/RULES b/rules/CC/RULES
index 960c8d9..37460d3 100644
--- a/rules/CC/RULES
+++ b/rules/CC/RULES
@@ -19,6 +19,40 @@
, "AR"
, "PATH"
]
+ , "field_doc":
+ { "base": ["Other targets (using the same rule) to inherit values from."]
+ , "CC": ["The C compiler to use"]
+ , "CXX": ["The C++ compiler to use"]
+ , "AR": ["The archiver tool to use"]
+ , "CFLAGS":
+ [ "Flags for C compilation. Specifying this field overwrites"
+ , "values from \"base\"."
+ ]
+ , "CXXFLAGS":
+ [ "Flags for C++ compilation. Specifying this field overwrites"
+ , "values from \"base\"."
+ ]
+ , "LDFLAGS":
+ [ "Linker flags for linking the final CC library. Specifying this field"
+ , "overwrites values from \"base\"."
+ ]
+ , "ADD_CFLAGS":
+ [ "Additional compilation flags for C. Specifying this field"
+ , "extends values from \"base\"."
+ ]
+ , "ADD_CXXFLAGS":
+ [ "Additional compilation flags for C++. Specifying this field"
+ , "extends values from \"base\"."
+ ]
+ , "ADD_LDFLAGS":
+ [ "Additional linker flags for linking the final CC library. Specifying"
+ , "this field extends values from \"base\"."
+ ]
+ , "PATH":
+ [ "Path for looking up the compilers. Individual paths are joined"
+ , "with \":\"."
+ ]
+ }
, "imports": {"base-provides": "defaults-base-provides"}
, "expression":
{ "type": "let*"