You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+4-1
Original file line number
Diff line number
Diff line change
@@ -272,6 +272,7 @@ There are also two additional parameters of the ``add_common_builds``:
272
272
-**shared_option_name**: If your conanfile.py have an option **shared**, the generated builds will contain automatically the "True/False" combination for that option.
273
273
Pass "False" to deactivate it or "lib_name:shared_option_name" to specify a custom option name, e.j: boost:my_shared``
274
274
-**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).
275
276
276
277
```
277
278
from cpt.packager import ConanMultiPackager
@@ -1139,12 +1140,14 @@ The current commit message can contain special messages:
1139
1140
1140
1141
## Complete ConanMultiPackager methods reference:
1141
1142
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
1143
1144
list of packages that will be created.
1144
1145
1145
1146
- **shared_option_name**: If given, ConanMultiPackager will add different configurations for -o shared=True and -o shared=False.
1146
1147
- **pure_c**: ConanMultiPackager won't generate different builds for the **libstdc++** c++ standard library, because it is a pure C library.
1147
1148
- **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)
1148
1151
1149
1152
- **login(remote_name)**: Performs a `conan user` command in the specified remote.
0 commit comments