Skip to content

Commit 493b5b3

Browse files
committed
#454 Update readme [skip ci]
Signed-off-by: Uilian Ries <uilianries@gmail.com>
1 parent 04b2c8e commit 493b5b3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,7 @@ There are also two additional parameters of the ``add_common_builds``:
272272
- **shared_option_name**: If your conanfile.py have an option **shared**, the generated builds will contain automatically the "True/False" combination for that option.
273273
Pass "False" to deactivate it or "lib_name:shared_option_name" to specify a custom option name, e.j: boost:my_shared``
274274
- **dll_with_static_runtime**: Will add also the combination of runtime MT with shared libraries.
275+
- **header_only**: If your conanfile.py have an option **header_only**, the generated builds will contain automatically the "True/False" combination for that option [#454](https://github.com/conan-io/conan-package-tools/issues/454).
275276

276277
```
277278
from cpt.packager import ConanMultiPackager
@@ -1139,12 +1140,14 @@ The current commit message can contain special messages:
11391140
11401141
## Complete ConanMultiPackager methods reference:
11411142
1142-
- **add_common_builds(shared_option_name=None, pure_c=True, dll_with_static_runtime=False)**: Generate a set of package configurations and add them to the
1143+
- **add_common_builds(shared_option_name=None, pure_c=True, dll_with_static_runtime=False, reference=None, header_only=True)**: Generate a set of package configurations and add them to the
11431144
list of packages that will be created.
11441145
11451146
- **shared_option_name**: If given, ConanMultiPackager will add different configurations for -o shared=True and -o shared=False.
11461147
- **pure_c**: ConanMultiPackager won't generate different builds for the **libstdc++** c++ standard library, because it is a pure C library.
11471148
- **dll_with_static_runtime**: generate also build for "MT" runtime when the library is shared.
1149+
- **reference**: Custom package reference
1150+
- **header_only**: Generate new builds following header-only options [#454](https://github.com/conan-io/conan-package-tools/issues/454)
11481151
11491152
- **login(remote_name)**: Performs a `conan user` command in the specified remote.
11501153

0 commit comments

Comments
 (0)