Skip to content

Commit

Permalink
Deployed 1b8f3ee to dev with MkDocs 1.6.0 and mike 2.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaut committed Jun 9, 2024
1 parent 1b8f3ee commit aa228bd
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
28 changes: 14 additions & 14 deletions dev/get-started/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@
<li class="md-nav__item">
<a href="#vcpkg" class="md-nav__link">
<span class="md-ellipsis">
Vcpkg
vcpkg
</span>
</a>

Expand Down Expand Up @@ -573,18 +573,18 @@


<h1 id="get-started">Get Started</h1>
<p>You can compile and run {fmt} examples online with <a href="https://godbolt.org/z/P7h6cd6o3">Compiler Explorer</a>.</p>
<p>{fmt} can be used with any build system. The next section describes usage with
CMake, and <a href="#build-systems">Build Systems</a> covers the rest.</p>
<p>Compile and run {fmt} examples online with <a href="https://godbolt.org/z/P7h6cd6o3">Compiler Explorer</a>.</p>
<p>{fmt} is compatible with any build system. The next section describes its usage
with CMake, while the <a href="#build-systems">Build Systems</a> section covers the rest.</p>
<h2 id="cmake">CMake</h2>
<p>{fmt} provides two CMake targets: <code>fmt::fmt</code> for the compiled library and
<code>fmt::fmt-header-only</code> for the header-only library. It is recommended to use
the compiled library for better build times.</p>
<p>There are three main ways to consume {fmt} from CMake:</p>
the compiled library for improved build times.</p>
<p>There are three primary ways to use {fmt} with CMake:</p>
<ul>
<li>
<p><strong>FetchContent</strong>: Since CMake v3.11, <a href="https://cmake.org/cmake/help/v3.30/module/FetchContent.html"><code>FetchContent</code></a> can be used to
automatically download {fmt} as a dependency at configure time:</p>
<p><strong>FetchContent</strong>: Starting from CMake 3.11, you can use <a href="https://cmake.org/cmake/help/v3.30/module/FetchContent.html"><code>FetchContent</code></a> to automatically
download {fmt} as a dependency at configure time:</p>
<pre class="highlight"><code>include(FetchContent)

FetchContent_Declare(
Expand All @@ -610,17 +610,17 @@ <h2 id="cmake">CMake</h2>
</ul>
<h2 id="install">Install</h2>
<h3 id="debianubuntu">Debian/Ubuntu</h3>
<p>Use the following command to install {fmt} on Debian, Ubuntu, or any other
Debian-based Linux distribution:</p>
<p>To install {fmt} on Debian, Ubuntu, or any other Debian-based Linux
distribution, use the following command:</p>
<pre class="highlight"><code>apt install libfmt-dev</code></pre>
<h3 id="homebrew">Homebrew</h3>
<p>{fmt} can be installed on macOS using <a href="https://brew.sh/">Homebrew</a>:</p>
<p>Install {fmt} on macOS using <a href="https://brew.sh/">Homebrew</a>:</p>
<pre class="highlight"><code>brew install fmt</code></pre>
<h3 id="conda">Conda</h3>
<p>{fmt} can be installed on Linux, macOS, and Windows with <a href="https://docs.conda.io/en/latest/">Conda</a>, using its <a href="https://github.com/conda-forge/fmt-feedstock">conda-forge package</a>:</p>
<p>Install {fmt} on Linux, macOS, and Windows with <a href="https://docs.conda.io/en/latest/">Conda</a>, using its <a href="https://github.com/conda-forge/fmt-feedstock">conda-forge package</a>:</p>
<pre class="highlight"><code>conda install -c conda-forge fmt</code></pre>
<h3 id="vcpkg">Vcpkg</h3>
<p>You can download and install {fmt} using the <a href="https://github.com/Microsoft/vcpkg">vcpkg</a> package manager:</p>
<h3 id="vcpkg">vcpkg</h3>
<p>Download and install {fmt} using the vcpkg package manager:</p>
<pre class="highlight"><code>git clone https://github.com/Microsoft/vcpkg.git
cd vcpkg
./bootstrap-vcpkg.sh
Expand Down
2 changes: 1 addition & 1 deletion dev/search/search_index.json

Large diffs are not rendered by default.

0 comments on commit aa228bd

Please sign in to comment.