-
Notifications
You must be signed in to change notification settings - Fork 547
Support for manually configured variants #1290
Copy link
Copy link
Open
Labels
Feature: configureFeature: variantsenhancementan enhancement to the product that is either not present or an improvement to an existing featurean enhancement to the product that is either not present or an improvement to an existing feature
Milestone
Description
Activity
Metadata
Metadata
Assignees
Labels
Feature: configureFeature: variantsenhancementan enhancement to the product that is either not present or an improvement to an existing featurean enhancement to the product that is either not present or an improvement to an existing feature
Type
Projects
- StatusShow more project fieldsPending Prioritization
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.