Update the minimum version of CMake to 3.14, required for LLVM 14.

Updating the readme too, pointing to the latest LTS for testing.
This commit is contained in:
Stefano Sanfilippo 2023-01-26 18:24:42 +01:00
parent ffae8e9e77
commit ef048aa324
2 changed files with 7 additions and 8 deletions

View File

@ -1,7 +1,7 @@
# Copyright 2017 the Monicelli project authors. All rights reserved. # Copyright 2017 the Monicelli project authors. All rights reserved.
# Use of this source code is governed by a GPLv3 license, see LICENSE.txt. # Use of this source code is governed by a GPLv3 license, see LICENSE.txt.
cmake_minimum_required(VERSION 3.7) cmake_minimum_required(VERSION 3.14)
project(Monicelli VERSION 2.1.0 LANGUAGES C CXX) project(Monicelli VERSION 2.1.0 LANGUAGES C CXX)
list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake") list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake")

View File

@ -1,4 +1,4 @@
# Monicelli 2.0 "Cofandina" # Monicelli 2.x "Cofandina"
This all-new release mainly brings several improvements to the code that make This all-new release mainly brings several improvements to the code that make
it easier to hack and build new features. In addition to that: it easier to hack and build new features. In addition to that:
@ -55,7 +55,7 @@ can override this by setting the `MONICELLI_LLVM_VERSION` variable:
$ cmake -DMONICELLI_LLVM_VERSION=15 $ cmake -DMONICELLI_LLVM_VERSION=15
Finally, you will need CMake, version 3.7 or higher. Finally, you will need CMake, version 3.14 or higher.
A typical Makefile-based build workflow would be: A typical Makefile-based build workflow would be:
@ -88,11 +88,10 @@ on Windows during CMake configuration by forcing the appropriate flag to OFF:
## Tested platforms ## Tested platforms
The reference OS for building and testing Monicelli is Ubuntu 16.04 LTS. If the The reference OS for building and testing Monicelli is the most recent Ubuntu LTS.
build is broken there, then it's a bug. Unfortunately I don't have many other If the build is broken there, then it's a bug. It _should_ also compile on Windows, as
platforms at hand to test, but it _should_ compile on many more POSIX systems, well as many more POSIX systems, including Mac OS X. If you needed a patch to compile
including Mac OS X. If you managed to compile Monicelli on your favourite Monicelli on your favourite platform, please send us a pull request!
platform and you needed a patch, it would be great if you could send a PR.
# Usage # Usage