Comments (7)
I'm fine with updating. I'm not on track with new versions of cmake, but in general, I prefer supporting relatively current versions and not trying to keep compatibility with old versions too long. So, let's update :)
from cmake-init.
from cmake-init.
When upgrading the minimum required CMake version, we can also work on those issues:
from cmake-init.
A quick summary of available CMake versions by OS / distribution and distribution channel:
- macOS / Homebrew: CMake 3.25
- macOS / MacPorts: CMake 3.24
- Windows / nuget: CMake 3.15
- Windows / chocolatey: CMake 3.25
- Debian / apt: CMake 3.18
- Ubuntu / apt: CMake 3.22
- Ubuntu / snap: CMake 3.25
As far as I collected data, our main major platforms and major distribution channels allow for a CMake version of 3.15 or higher. If we ignore the out-of-date package in nuget, it's CMake 3.18 or higher.
And as @Tachi107 mentioned, there's always the possibility to grab a pre-built version of CMake or build it from source yourself (https://cmake.org/download/).
from cmake-init.
I think we can create different branches for different CMake versions. This approach allows users to maintain separate code bases that are compatible with specific CMake versions. By doing so, users who require a lower CMake version can use the appropriate branch while others can work with the latest version.
from cmake-init.
from cmake-init.
According to https://lists.debian.org/debian-devel/2023/06/msg00150.html, CMake 3.27 will begin issuing deprecation warning if projects declare a cmake_minimum_required()
version lower than 3.5.
This is a clear indication from the CMake devs that yes, we should bump the minimum required version.
from cmake-init.
Related Issues (20)
- Option to generate cppcheck reports as xml file HOT 2
- Small "adapt" improvement
- Use target_link_options to pass linker options
- Handle deprecation of CMP0037
- Is the .ignore file necessary? HOT 2
- Review paths for both RPATH and RUNPATH installs
- Require CMake 3.5 HOT 1
- Drop GenerateExportHeader and WriteCompilerDetectionHeader HOT 2
- Why is the templace generating a CMakeUserPresets file? HOT 1
- Disable PIC for static libraries HOT 1
- Missing LATEX_COMPILER and LaTeX HOT 1
- which items in which files should be modified when creating a new project? HOT 3
- Bug Report: Separator Issue in .localconfig/default HOT 3
- NSIS 3 support for MUI2
- Add Windows support to Travis CI template HOT 1
- Unify use of CMake variable syntax within configuration-in-files
- What's the problem with gtest/mingw? HOT 1
- Replace global settings with local ones HOT 2
- Integrate Hunter support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cmake-init.