conan-io / conan-io/docs

Misleading override example using conanfile.txt

Open
#949 5 comments 3 reactions 1 assignee Claimed by @memsharded View on GitHub
complex: low priority: medium stage: queue type: bug
Dominant language
C++
Stars
125
Forks
382
Avg merge
22h 39m
Merged PRs (30d)
21

Description

https://docs.conan.io/en/latest/using_packages/conanfile_txt.html#overriding-requirements
Though this is declared as "... a good example of overriding requirements .." it is missleading since it does not mention the _override_ parameter like it is done here: https://docs.conan.io/en/latest/reference/conanfile/attributes.html?highlight=override#requires
It do not know whether "real overrides" can be done within a _conanfile.txt_ and if it is not possible this should not be used as an example.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.