Skip to content

[Feature Suggestion] Python bindings for cmake #444

Open
@Andersama

Description

@Andersama

I'm not a python developer, but recently in writing some scripts for a cmake integration into an editor I found this module, however it uses the same mechanism I already was using. Namely by opening a shell via the subprocess module. In testing even with a shorter command like passing --version to cmake, I found there's roughly a ~.1+ second latency while python does the work to open a shell.
Meanwhile with another module which had python bindings there was no such latency (because it's roughly like a function call).

My suggestion, propose actual python bindings to be built into the cmake binary so that you can tap into it via this module, and where possible write a guide how to follow the ide integration guide via python, this way people looking to integrate cmake don't have to reimplement parsing different cmake related json, txt and cache files by hand.

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