Skip to content

Commit ec68fb0

Browse files
authored
Merge pull request #4 from jgsogo/proposal/tools-cmake
[tools] CMake 3.15 required
2 parents 694bbf9 + ed7689a commit ec68fb0

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

design/004-tools-cmake.md

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
2+
# Proposal: Tools - CMake 3.15
3+
4+
| **Status** | **Accepted** |
5+
|:------------------|:--------------------------------------------------|
6+
| **RFC #** | [004](https://github.com/conan-io/tribe/pull/4) |
7+
| **Submitted** | 2020-11-12 |
8+
| **Tribe votes** | 👍 (45) 👎 (7) 👀 (5) |
9+
10+
---
11+
12+
## Summary
13+
Declare CMake 3.15 as the lowest supported CMake version.
14+
15+
16+
## Motivation
17+
CMake is one of the main external tool we call from Conan, transparent integration and
18+
reliability should be a priority. It is important to declare a minimum supported
19+
version so we can run all the tests and be confident that the user will get the
20+
expected results and no regressions will be introduced.
21+
22+
23+
## Proposal
24+
CMake 3.15 was [released on July 2019](https://github.com/Kitware/CMake/releases/tag/v3.15.0). Significant additions are:
25+
26+
* (CMake 3.14) _Visual Studio 16 2019_ generator.
27+
* Variable `CMAKE_PROJECT_INCLUDE` to add a file to be included after the `project()`
28+
call. This is used by Conan toolchains.
29+
* Variable `CMAKE_MSVC_RUNTIME_LIBRARY` to select the runtime library library used
30+
when targeting MSVC ABI.
31+
32+
[Link to the full changelog](https://cmake.org/cmake/help/latest/release/3.15.html).
33+
34+
35+
## Comments
36+
This proposal is approved considering that the situation will change from the moment of approval to
37+
when Conan 2.0 is released. At that moment, we will evaluate user's feedback to check if it's
38+
necessary to add some workarounds or opt-out behavior for users chained to previous versions.

0 commit comments

Comments
 (0)