-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deprecated names
, filenames
and build_modules
#369
Deprecated names
, filenames
and build_modules
#369
Conversation
82c0a2e
to
3c130d0
Compare
4ecdef0
to
663ca00
Compare
I think this PR is blocked till the new Conan 1.43 will be published due to the need to have this change available conan-io/conan#10005 |
Running a tentative hook check with the changes proposed on this PR led to the following refenreces failing:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ATM we cannot forbid these parameters, as they are needed for the stable generators to work properly.
We can print a warning and recommend the contributor to add set_property
, but we cannot remove these ones until we deprecate cmake_find_package[_multi]
generators (only after deprecating Conan v1).
This PR does not make sense for now. Closing it 😉 |
If
conanfile.py
recipe is using any of the legacy propertiesnames
,filenames
and/orbuild_modules
, this hook will show an error. It will help to avoid problems with the newconan.tools
generators likeCMakeDeps
,PkgConfigDeps
, etc.Issue related: conan-io/conan#9943
Docs: https://github.com/conan-io/conan-center-index/pull/XXXX