Skip to content

Use environment variables from cmake.[configure]environment when loading CMakePresets #3578

@tnixeu

Description

@tnixeu

Brief Issue Summary

In Version 7 the includes allow to use of $penv{} macro expansion.

However, the environment variables defined in cmake.environment or cmake.configureEnvironment are not expanded there. Environment variables defined before starting vscode are expanded.

I have tried this with the latest pre-release version.

CMake Tools Diagnostics

No response

Debug Log

No response

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature: presetsenhancementan 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