Skip to content

Read Kit/Generator from the CMakeCache.txt #1400

Description

@PinkySan

Brief Issue Summary

I am configuring my cmake-project with conan. I am having some special profiles for different compiler.
When opening the folder and trying to use the cmake-tools, i always have to select a kit. These seem sometimes to differ. Especially when i am using platform and toolsets.
The kit/generator should be automatically selected by the already generated cmake-cache.

Expected:

  1. Having a possibility to first check in the cmake.buildDirectory, if there is already a CMakeCache.txt
  2. Setting the kit, generator, toolset, platform and cmake-executable regarding the cache (using different cmake-versions in different projects)

Platform and Versions

  • Operating System: Windows
  • CMake Version: 3.10 or newer
  • VSCode Version: 1.47.3
  • CMake Tools Extension Version: v1.4.1
  • Compiler/Toolchain: differ

Other Notes/Information

also having problems with intellisense and conan
Neverthelesse: Good tool by the way 😉

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: configureenhancementan enhancement to the product that is either not present or an improvement to an existing featurestale-exemptto use with close-stale-issues and close-old-issues bot

    Type

    No type

    Projects

    • Status
      Pending Prioritization

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions