Skip to content

Commit

Permalink
Remove misleading message about ConanCenter in shared_library_package…
Browse files Browse the repository at this point in the history
…_id() (#2000)
  • Loading branch information
danimtb authored Feb 15, 2021
1 parent fc1e8fe commit 9f07cf4
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions reference/conanfile/methods.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 <https://github.com/conan-io/conan-center-index>`_ that have dependencies
to compiled libraries and have the ``shared`` option.



self.info.vs_toolset_compatible() / self.info.vs_toolset_incompatible()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Expand Down

0 comments on commit 9f07cf4

Please sign in to comment.