Update CMake usage in README build instructions
authorNeroBurner <pyro4hell@gmail.com>
Sun, 23 Oct 2022 19:45:16 +0000 (21:45 +0200)
committerMatthieu Gallien <matthieu_gallien@yahoo.fr>
Tue, 25 Oct 2022 07:50:14 +0000 (09:50 +0200)
commit69692922cf1da8998aa76758c32400b73e3a73ad
treeb793a7d91938c9f50bb9c842e98fbcb18c35fe40
parent6db336128c98ff02c2db39d41bbba68a18b17c66
Update CMake usage in README build instructions

CMake 3.14.0 released in March 2019 [1] added the command line config options
`-S <source-dir>` and `-B <build-dir>` and the build argument `--build <build-dir>` [2].
These options are universally valid independent of the build system used (`make`,
`nmake`, `ninja`, `MSBuild`,...), making the provided CMake commands more generic.

As reference Ubuntu 20.04 ships the CMake 3.16.3 [3] version.

- [1] https://gitlab.kitware.com/cmake/cmake/-/tags/v3.14.0
- [2] https://cmake.org/cmake/help/v3.14/release/3.14.html#command-line
- [3] https://packages.ubuntu.com/focal/cmake

Signed-off-by: NeroBurner <pyro4hell@gmail.com>
README.md