Skip to content

New detect_api for profiles and global.conf#14578

Merged
czoido merged 10 commits into
conan-io:release/2.0from
memsharded:feature/detect_api
Sep 14, 2023
Merged

New detect_api for profiles and global.conf#14578
czoido merged 10 commits into
conan-io:release/2.0from
memsharded:feature/detect_api

Conversation

@memsharded

@memsharded memsharded commented Aug 25, 2023

Copy link
Copy Markdown
Member

Changelog: Feature: New detect_api to be used in profiles jinja templates.
Docs: conan-io/docs#3390

This comes from #14487 discussion.

  • This detect_api cannot have strong stability guarantees, in the exact same way that the conan profile detect. This must be clearly documented
  • It is not a regular api that can be used to create new commands or anything like that. Autodetection is not the recommended way. This api will be internal and only exposed to the profiles and global.conf rendering.

Close #14487

@memsharded memsharded marked this pull request as ready for review September 11, 2023 07:08
@czoido czoido merged commit 7f6430a into conan-io:release/2.0 Sep 14, 2023
@memsharded memsharded deleted the feature/detect_api branch September 14, 2023 10:06
NoWiseMan pushed a commit to NoWiseMan/conan that referenced this pull request Sep 19, 2023
* wip

* fixes

* more fixes

* wip

* fix

* new test

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[feature] tools.microsoft.msbuild:vs_version should be included in the default profile detect

4 participants