Lines Matching full:fmt
5 To use the {fmt} library, add :file:`fmt/core.h`, :file:`fmt/format.h`,
6 :file:`fmt/format-inl.h`, :file:`src/format.cc` and optionally other headers
7 from a `release archive <https://github.com/fmtlib/fmt/releases/latest>`_ or
8 the `Git repository <https://github.com/fmtlib/fmt>`_ to your project.
16 The included `CMake build script`__ can be used to build the fmt
20 __ https://github.com/fmtlib/fmt/blob/master/CMakeLists.txt
30 where :file:`{<path/to/fmt>}` is a path to the ``fmt`` repository.
39 CMake option. This can be useful if you include fmt as a subdirectory in
40 your project but don't want to add fmt's tests to your ``test`` target.
42 If you use Windows and have Visual Studio installed, a :file:`FMT.sln`
57 consumer of the fmt library is a shared library i.e. a Python extension) set the
72 You can add the ``fmt`` library directory into your project and include it in
75 add_subdirectory(fmt)
81 add_subdirectory(fmt EXCLUDE_FROM_ALL)
85 You can detect and use an installed version of {fmt} as follows::
87 find_package(fmt)
88 target_link_libraries(<your-target> fmt::fmt)
90 Setting up your target to use a header-only version of ``fmt`` is equally easy::
92 target_link_libraries(<your-target> PRIVATE fmt::fmt-header-only)
98 build-system combined, to use ``fmt``.
102 - **https://cppget.org/fmt/** for released and published versions.
103 … repository with the sources of the build2 package of fmt <https://github.com/build2-packaging/fmt…
104 for unreleased or custom revisions of ``fmt``.
108 - ``build2`` package name: ``fmt``
109 - Library target name : ``lib{fmt}``
111 For example, to make your ``build2`` project depend on ``fmt``:
123 depends: fmt ~7.0.0
126 using `fmt` in the appropriate ``buildfile``::
128 import fmt = fmt%lib{fmt}
129 lib{mylib} : cxx{**} ... $fmt
161 fmt can be installed on Linux, macOS and Windows with
164 `package <https://github.com/conda-forge/fmt-feedstock>`__, as follows::
166 conda install -c conda-forge fmt
171 You can download and install fmt using the `vcpkg
178 ./vcpkg install fmt
180 The fmt port in vcpkg is kept up to date by Microsoft team members and community
187 You can download and install fmt using
191 lhelper install fmt
199 fmt provides `Android.mk file`__ that can be used to build the library
201 For an example of using fmt with Android NDK, see the
205 __ https://github.com/fmtlib/fmt/blob/master/Android.mk
210 fmt can be installed on OS X using `Homebrew <http://brew.sh/>`_::
212 brew install fmt