Skip to content

Support for manually configured variants #1290

Description

The CMake Tools design for variants is overall very nice. However, for the project I'm working on (Apache Arrow), it's kind of impractical. Arrow has a lot of optional components that can be configured at build time. Since the project doesn't use VS Code as a standard, I really don't want to go through the work of setting up variants for all that, and so that hampers my ability to use CMake Tools with that project.

If there was a way to associate a variant name (e.g. "debug") either with a specific CMake invocation, or an existing CMake output directory, that would allow me to define a couple variants ("debug", "release") that have all the right flags for my work, and then use only those. That would be a lot less work to use CMake Tools with a project with many options.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature: configureFeature: variantsenhancementan enhancement to the product that is either not present or an improvement to an existing feature

    Type

    No type

    Projects

    • Status
      Pending Prioritization

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions