Skip to content

Commit

Permalink
eyalroz_printf: Enhance docs
Browse files Browse the repository at this point in the history
  • Loading branch information
crvux committed Jul 21, 2024
1 parent a62b1c4 commit 79752d0
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions docs/packages/pkg/eyalroz_printf.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,32 @@ eyalroz_printf
==============

- `Official <https://github.com/eyalroz/printf>`__
- `Example <https://github.com/cpp-pm/hunter/blob/master/examples/eyalroz_printf/CMakeLists.txt>`__
- Added by `Alexander Voronov <https://github.com/crvux>`__ (`pr-725 <https://github.com/cpp-pm/hunter/pull/725>`__)


.. literalinclude:: /../examples/eyalroz_printf/CMakeLists.txt
:language: cmake
:start-after: # DOCUMENTATION_START {
:end-before: # DOCUMENTATION_END }

CMake options
-------------

The ``CMAKE_ARGS`` feature (see
`customization <https://hunter.readthedocs.io/en/latest/reference/user-modules/hunter_config.html>`__)
can be used to customize package:

- For example, to build static library:

.. code-block:: cmake
hunter_config(
eyalroz_printf
VERSION ${HUNTER_eyalroz_printf_VERSION}
CMAKE_ARGS
BUILD_SHARED_LIBS=OFF
)
For more options see `original repository <https://github.com/eyalroz/printf/blob/master/CMakeLists.txt>`__.

0 comments on commit 79752d0

Please sign in to comment.