docs: Update docs for CMake 3.20.0 minimal version
Update docs to reference CMake 3.20.0 as minimum required version. Added Kitware APT repository to the getting started page. Updated installation Linux download descriptions from CMake 3.15.3 to CMake 3.21.1 as that is the version currently being installed when using the Kitware APT repository. Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
This commit is contained in:
parent
0df9e9a44e
commit
8dd1d7a524
2 changed files with 18 additions and 8 deletions
|
@ -62,7 +62,7 @@ The current minimum required version for the main dependencies are:
|
|||
- Min. Version
|
||||
|
||||
* - `CMake <https://cmake.org/>`_
|
||||
- 3.13.1
|
||||
- 3.20.0
|
||||
|
||||
* - `Python <https://www.python.org/>`_
|
||||
- 3.6
|
||||
|
@ -76,6 +76,16 @@ The current minimum required version for the main dependencies are:
|
|||
|
||||
.. _install_dependencies_ubuntu:
|
||||
|
||||
#. Download, inspect and execute the Kitware archive script to add the
|
||||
Kitware APT repository to your sources list.
|
||||
A detailed explanation of ``kitware-archive.sh`` can be found here
|
||||
`kitware third-party apt repository <https://apt.kitware.com/>`_::
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
wget https://apt.kitware.com/kitware-archive.sh
|
||||
sudo bash kitware-archive.sh
|
||||
|
||||
#. Use ``apt`` to install the required dependencies:
|
||||
|
||||
.. code-block:: bash
|
||||
|
|
|
@ -139,9 +139,9 @@ there are several ways of obtaining a more recent one:
|
|||
.. code-block:: console
|
||||
|
||||
cd ~
|
||||
wget https://github.com/Kitware/CMake/releases/download/v3.15.3/cmake-3.15.3-Linux-x86_64.sh
|
||||
chmod +x cmake-3.15.3-Linux-x86_64.sh
|
||||
sudo ./cmake-3.15.3-Linux-x86_64.sh --skip-license --prefix=/usr/local
|
||||
wget https://github.com/Kitware/CMake/releases/download/v3.21.1/cmake-3.21.1-Linux-x86_64.sh
|
||||
chmod +x cmake-3.21.1-Linux-x86_64.sh
|
||||
sudo ./cmake-3.21.1-Linux-x86_64.sh --skip-license --prefix=/usr/local
|
||||
hash -r
|
||||
|
||||
The ``hash -r`` command may be necessary if the installation script
|
||||
|
@ -149,14 +149,14 @@ there are several ways of obtaining a more recent one:
|
|||
|
||||
* Download and install from the pre-built binaries provided by the CMake
|
||||
project itself in the `CMake Downloads`_ page.
|
||||
For example, to install version 3.13.1 in :file:`~/bin/cmake`:
|
||||
For example, to install version 3.21.1 in :file:`~/bin/cmake`:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
mkdir $HOME/bin/cmake && cd $HOME/bin/cmake
|
||||
wget https://github.com/Kitware/CMake/releases/download/v3.13.1/cmake-3.13.1-Linux-x86_64.sh
|
||||
yes | sh cmake-3.13.1-Linux-x86_64.sh | cat
|
||||
echo "export PATH=$PWD/cmake-3.13.1-Linux-x86_64/bin:\$PATH" >> $HOME/.zephyrrc
|
||||
wget https://github.com/Kitware/CMake/releases/download/v3.21.1/cmake-3.21.1-Linux-x86_64.sh
|
||||
yes | sh cmake-3.21.1-Linux-x86_64.sh | cat
|
||||
echo "export PATH=$PWD/cmake-3.21.1-Linux-x86_64/bin:\$PATH" >> $HOME/.zephyrrc
|
||||
|
||||
* Use ``pip3``:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue