From 9f07cf48fd773cf313f9d4ca60b6e71d5b216c23 Mon Sep 17 00:00:00 2001 From: Daniel Date: Mon, 15 Feb 2021 11:59:21 +0100 Subject: [PATCH] Remove misleading message about ConanCenter in shared_library_package_id() (#2000) --- reference/conanfile/methods.rst | 7 ------- 1 file changed, 7 deletions(-) diff --git a/reference/conanfile/methods.rst b/reference/conanfile/methods.rst index db48ef09d67..72353607327 100644 --- a/reference/conanfile/methods.rst +++ b/reference/conanfile/methods.rst @@ -979,7 +979,6 @@ When a shared library links with a static library, the binary code of the later That means that any change in the static library basically requires a new binary re-build of the shared one to integrate those changes. Note that this doesn't happen in the static-static and shared-shared library dependencies. - Use this ``shared_library_package_id()`` helper in the ``package_id()`` method: .. code-block:: python @@ -999,12 +998,6 @@ option in command line or profiles, but can also be defined in recipes like: if self.options.shared: self.options["*"].shared = True -Using both ``shared_library_package_id()`` and this ``configure()`` method is necessary for -`Conan-center packages `_ that have dependencies -to compiled libraries and have the ``shared`` option. - - - self.info.vs_toolset_compatible() / self.info.vs_toolset_incompatible() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^