Skip to content

Fetch CMAKE variables from CMakePresets.json and CMakeLists.txt #4301

Open

Description

Brief Issue Summary

Are there any ways to fetch variables or options from CMAKE via command substitution, e.g. library path provided by package managers in toolchain file and presets? It's helpful in launch.json file.

CMake Tools Diagnostics

Debug Log

Additional Information

No response

Activity

  1. Amy-Li03 commented on Feb 27, 2025

    @Amy-Li03
    Collaborator

    Hi äļäžŊ文 (@FlyinCow) , thanks for reporting here!

    Garrett Campbell (@gcampbell-msft) , can you offer your guidance on this issue? thanks in advance.

  2. added
    more info neededMore info is needed from the community for us to properly triage and investigate.
    and removed on Feb 27, 2025
  3. gcampbell-msft commented on Feb 28, 2025

    @gcampbell-msft
    Collaborator

    äļäžŊ文 (@FlyinCow) Thanks for this feature request! We will place it on our backlog, and for features like this we most often prioritize based on number of upvotes. We would encourage you to upvote the original issue.

    Thanks!

  4. added
    enhancementan enhancement to the product that is either not present or an improvement to an existing feature
    and removed
    more info neededMore info is needed from the community for us to properly triage and investigate.
    on Feb 28, 2025
  5. moved this from Blocked to Pending Prioritization in CMake Toolson Feb 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    • Status
      Pending Prioritization

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions