summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorOliver Reiche <oliver.reiche@huawei.com>2022-12-16 17:20:09 +0100
committerOliver Reiche <oliver.reiche@huawei.com>2022-12-16 21:07:50 +0100
commit484092bb16cbf4683313c4adab8571699513a60b (patch)
tree2184574e1c4c41857afae0f81157ec5634f763c8 /README.md
parent81d2bf3484f23035a7d919c2c22d0485f13d8857 (diff)
parent95284ec611a53ca9c7925aad4bbe3f6561de018a (diff)
downloadrules-cc-484092bb16cbf4683313c4adab8571699513a60b.tar.gz
Merge commit '95284ec611a53ca9c7925aad4bbe3f6561de018a' into shared-rules
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/README.md b/README.md
index c2f4892..ee6b3b0 100644
--- a/README.md
+++ b/README.md
@@ -12,12 +12,14 @@ A C++ library
| `"cflags"` | List of compile flags set for this target and its consumers. |
| `"private-cflags"` | List of compile flags set for source files local to this target. |
| `"private-ldflags"` | Additional linker flags for linking external libraries (not built by this tool, typically system libraries). |
+| `"soversion"` | The SOVERSION for shared libraries. Individual version components are joined with `"."`. |
| `"srcs"` | The source files of the library. |
| `"hdrs"` | Any public header files of the library. |
| `"private-hdrs"` | Any header files that only need to be present when compiling the source files, but are not needed for any consumer of the library. |
| `"deps"` | Any other libraries this library depends upon. |
| `"private-deps"` | Any other libraries this library depends upon but does not include in its public headers. |
| `"proto"` | Any `["proto", "library"]` this target depends upon directly. The creation of C++ bindings for this proto library as well as of its dependencies will be taken care of (as anonymous targets, so no duplicate work will be carried out, even if the same proto library is used at various places). |
+| `"shared"` | If non-empty, produce a shared instead of a static library. |
## Rule `["CC", "binary"]`