Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for CMake-presets. #1656

Merged
merged 1 commit into from
May 25, 2021

Commits on May 25, 2021

  1. Add support for CMake configure, build and test presets.

    Introduce a `projectile--cmake-command`, for CMake projects
    parametrized on command-type, and route configure, build and test
    commands for cmake projects through this.
    
    This command ensures that presets for the given command-type is
    supported by the installed version of CMake, that `json-parse-buffer`
    is available, that the user has opted in to preset support through
    the `projectile-enable-cmake-presets` custom, and that there is at
    least one preset available for the given command type.
    
    If all these conditions hold it parses the preset files and prompts
    the user to select a preset, or to opt-out of preset configuration,
    and creates a manual or preset command based on the users selection.
    Else it will revert to manual configuration.
    jehelset committed May 25, 2021
    Configuration menu
    Copy the full SHA
    dc09e10 View commit details
    Browse the repository at this point in the history