diff options
| author | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-12-09 23:13:01 +0100 |
|---|---|---|
| committer | Eli Schwartz <eschwartz93@gmail.com> | 2023-12-12 20:14:26 -0500 |
| commit | ebf5757c59d9bceb953dc531c757e07dcf83c081 (patch) | |
| tree | b8456264dfb8f3a75f476343d0bd6a398677ccec /docs | |
| parent | f6f46173c48196f99f1daaf21affba0f44aef962 (diff) | |
| download | meson-ebf5757c59d9bceb953dc531c757e07dcf83c081.tar.gz | |
cmake: parse project version
This properly sets the project version in projects meson generates from
cmake projects. This allows dependency fallbacks to properly check the
version constraints in dependency calls when falling back to a cmake
subproject. Before this would fail, because the project version was
undefined.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/markdown/snippets/cmake-project-version.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/markdown/snippets/cmake-project-version.md b/docs/markdown/snippets/cmake-project-version.md new file mode 100644 index 000000000..0bc120b9f --- /dev/null +++ b/docs/markdown/snippets/cmake-project-version.md @@ -0,0 +1,6 @@ +## Meson now reads the project version of cmake subprojects + +CMake subprojects configured by meson will now have their project +version set to the project version in their CMakeLists.txt. This +allows version constraints to be properly checked when falling back to +a cmake subproject. |
