conan-io / conan-io/docs

using components still recommends cpp_info.name

Open
#2,404 0 comments 1 reaction 1 assignee Claimed by @uilianries View on GitHub
Dominant language
C++
Stars
125
Forks
382
Avg merge
22h 39m
Merged PRs (30d)
21

Description

from https://github.com/conan-io/conan-center-index/pull/9409#discussion_r810590913

```
def package_info(self):
self.cpp_info.name = "OpenSSL"
```

the page https://docs.conan.io/en/latest/creating_packages/package_information.html#using-components recommends using `cpp_info.name` (even not `names`!), which was outdated a long time ago.
I think it should be updated to use `set_properties` instead.

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.