-
Notifications
You must be signed in to change notification settings - Fork 981
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
New CMakeDeps #16964
New CMakeDeps #16964
Conversation
What are the interface implications of this new generator? It seems like it will break any invocation of |
It is not intended to break them, it is just that at this first iteration it is not implementing MODULE, and focusing on a correct behavior for Config.cmake files, which is the most important use cases. Modules will follow in next iterations. It is not a deviation, it is a functionality not implemented yet, the intent is that it can be a replacement of the previous generator in most cases, and also fully transparent in most cases. |
Changelog: Feature: New
CMakeDeps
generator activated bytools.cmake.cmakedeps:new
conf with valuewill_break_next
for evaluation. This new generator deduces or usecpp_info.location/link_location
to define STATIC; SHARED, INTERFACE imported targets. It will also define the IMPORTED_LOCATION, the IMPORTED_CONFIGURATION, etc.Changelog: Feature: Use
cpp_info.languages
, that default to the recipelanguages
to propagate "link-language" requirements to consumers of the packages.Changelog: Feature: Define
cpp_info.default_components
for the newCMakeDeps
generator only.Changelog: Feature: Model
cpp_info.exes
field for executable applications, used only by the newCMakeDeps
generator, that generate IMPORTED executable targets inCMakeDeps
forcpp_info.exes
.Docs: Omit
Close #7240
Close #13560
Close #16990
Close #16688
Close #12012
Close #12180
Close #14606
Close #17018
Close #16324
Close #14607
Close #9033
TODO: Close #17224