docs/quickstart-cmake.md: fix enumeration indentation + specify CMake minimum version
This commit is contained in:
parent
2946125d8e
commit
856465113e
@ -11,8 +11,8 @@ To complete this tutorial, you'll need:
|
|||||||
|
|
||||||
* A compatible operating system (e.g. Linux, macOS, Windows).
|
* A compatible operating system (e.g. Linux, macOS, Windows).
|
||||||
* A compatible C++ compiler that supports at least C++14.
|
* A compatible C++ compiler that supports at least C++14.
|
||||||
* [CMake](https://cmake.org/) and a compatible build tool for building the
|
* [CMake](https://cmake.org/) >= 3.14 and a compatible build tool for building
|
||||||
project.
|
the project.
|
||||||
* Compatible build tools include
|
* Compatible build tools include
|
||||||
[Make](https://www.gnu.org/software/make/),
|
[Make](https://www.gnu.org/software/make/),
|
||||||
[Ninja](https://ninja-build.org/), and others - see
|
[Ninja](https://ninja-build.org/), and others - see
|
||||||
@ -45,10 +45,10 @@ Next, you'll create the `CMakeLists.txt` file and declare a dependency on
|
|||||||
GoogleTest. There are many ways to express dependencies in the CMake ecosystem
|
GoogleTest. There are many ways to express dependencies in the CMake ecosystem
|
||||||
but the two most common methods are
|
but the two most common methods are
|
||||||
|
|
||||||
1. Using the [`find_package`](https://cmake.org/cmake/help/latest/command/find_package.html)
|
1. Using the [`find_package`](https://cmake.org/cmake/help/latest/command/find_package.html)
|
||||||
command
|
command
|
||||||
2. Using the [`FetchContent`](https://cmake.org/cmake/help/latest/module/FetchContent.html)
|
2. Using the [`FetchContent`](https://cmake.org/cmake/help/latest/module/FetchContent.html)
|
||||||
CMake module
|
CMake module
|
||||||
|
|
||||||
We will cover both methods in their [respective](#using-find_package)
|
We will cover both methods in their [respective](#using-find_package)
|
||||||
[subsections](#using-FetchContent) as each has their
|
[subsections](#using-FetchContent) as each has their
|
||||||
|
Loading…
Reference in New Issue
Block a user