Hey Garrett,
Did you have the chance to look at Meson[1] too? It has been gaining
quite the traction for C and C++ projects and I've found it to be way
nicer than CMake overall on my own projects, mostly due to not having
to work around quirks in older versions of CMake, and a proper DSL
where everything isn't just strings. Plus, the only thing Meson
requires is Python 3 and can be installed via pip if there's no
package available for the distro (or on Windows, macOS), so there's no
real issue about availability or using a more recent version.
Cheers,
[1]: https://mesonbuild.com
Le jeu. 2 janv. 2020 à 01:22, Garrett D'Amore <garrett@xxxxxxxxxx> a écrit :
All,
This is a heads up (and a request for objections if any) that at some point
soon a future release of NNG (possibly starting with v1.3) will require
significantly newer CMake versions. I’m contemplating requiring at least
3.13, and probably more like 3.14 or even 3.15.
There are a number of features that more recent CMake brings to the table,
which potentially reduce the effort required to have easily supportable,
flexible configuration. At present we are working around limitations in
older releases, but it’s becoming somewhat annoying to have to keep doing so.
Note that CMake binaries are packaged and freely and readily available for
Ubuntu 16.x and newer, RedHat 7.x and newer, Windows, and macOS. Recent
Visual Studio 2019 even *includes* cmake 3.15.
This might make things slightly more annoying for folks using CMake on
non-mainstream platforms, but even on those platforms bootstrapping CMake is
generally a very simple task. (Note also that modern CMake can cross compile
easily, so even if your target environment is not mainstream, you won’t be
impacted as long as your *development* system isn’t too far off the beaten
path.)
If this is going to cause anyone undue stress, please let me know.
Garrett