Skip to content

Consider using CMake presets #2454

@sharadhr

Description

@sharadhr

This will considerably simplify our CI listings, which have lots of CMake arguments repeated over and over; having it all explicitly listed out in CMake presets that inherit and override one another would make things much more straightforward.

We could have presets for:

  • Platforms (Windows, macOS, Ubuntu)
  • Toolchains (compilers, build systems (Make, Ninja, MSBuild)
  • Environments
    • generator
    • testing
    • samples
    • consumer install: no generation, no tests, no samples

And many more. This will also simplify our version control. I have something set up in my own repository; this could be useful here.

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