Skip to content

Fixed two bugs with CMakePresets - #11414

Merged
memsharded merged 2 commits into
conan-io:developfrom
lasote:feature/fixes_presets
Jun 7, 2022
Merged

memsharded merged 2 commits into
conan-io:developfrom
lasote:feature/fixes_presets

Conversation

@lasote

@lasote lasote commented Jun 7, 2022

Copy link
Copy Markdown
Contributor

Changelog: Bugfix: The CMakePresets.json file, when performing several conan install commands, ended-up with several entries of duplicated "buildPresets" if used with a multi-configuration cmake generator.
Changelog: Fix: The "include" paths list in a CMakeUserPresets.json, when performing a new conan install, are now checked, and in case some of them is a missing path (deleted directory), it is cleaned from the list.
Docs: omit

Closes #11413
Closes #11409

@lasote lasote added this to the 1.50 milestone Jun 7, 2022
@lasote
lasote requested a review from memsharded June 7, 2022 13:33
Comment thread conan/tools/cmake/presets.py Outdated
@memsharded
memsharded merged commit 485b78e into conan-io:develop Jun 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[bug] CMakeUserPresets.json including missing directory Prevent repeating the same preset in CMakePresets.json

2 participants