require CMake 3.21 and C17 closes #2850

This commit is contained in:
nick black 2025-01-30 17:17:43 -05:00
parent bef0e278b3
commit ad6da72424
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC
3 changed files with 4 additions and 3 deletions

View File

@ -1,5 +1,5 @@
# 3.14.0 introduced NAME_WLE
cmake_minimum_required(VERSION 3.14.0)
# 3.21.0 introduced C17 support
cmake_minimum_required(VERSION 3.21.0)
project(notcurses VERSION 3.0.13
DESCRIPTION "Blingful UI for modern terminal emulators"
HOMEPAGE_URL "https://nick-black.com/dankwiki/index.php/notcurses"

View File

@ -7,6 +7,7 @@ rearrangements of Notcurses.
quadrants/sextants implementations.
* A bug introduced sometime in 2022 that caused unpredictable
hangs on exit was resolved (#2837), yay!
* We now require CMake 3.21 (vs 3.14) and C17 (vs C11).
* 3.0.13 (2025-01-11)
* Fix regression when building with `USE_CXX=off`.

View File

@ -106,7 +106,7 @@ portability, you should by all means use that fine library.
Minimum versions generally indicate the oldest version I've tested with; it
may well be possible to use still older versions. Let me know of any successes!
* (build) CMake 3.14.0+ and a C11 compiler
* (build) CMake 3.21.0+ and a C17 compiler
* (OPTIONAL) (OpenImageIO, testing, C++ bindings): A C++17 compiler
* (build+runtime) From [NCURSES](https://invisible-island.net/ncurses/announce.html): terminfo 6.1+
* (build+runtime) GNU [libunistring](https://www.gnu.org/software/libunistring/) 0.9.10+