Skip to content

Consider removing the Conan-generated CMakeUserPresets.json or replacing it with CMakePresets.json #46

@demianmnave

Description

@demianmnave

CMakeUserPresets.json should not normally be under source control since it is meant to encode local build configurations. CMakePresets.json is the preferred method for encoding common build settings.

Moreover, the presence of another user's CMakeUserPresets.json can produce unexpected errors. For example, this is the error (on Windows) due to a non-existent presets file referenced in CMakeUserPresets.json from 0ad99d9:

Image

Unfortunately, being unfamiliar with Conan, I can't propose a decent resolution.

Lastly, I don't believe this is a high priority issue as it is unlikely that someone will need custom presets to build this project. I only stumbled upon it while using cmake-gui to review some settings in my local Windows build.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions