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
Feature/cmakedeps files #8655
Feature/cmakedeps files #8655
Conversation
|
||
mark_as_advanced({name}_INCLUDE_DIRS{build_type_suffix} |
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.
Should we keep this? Is this here to prevent variable modification via CMake GUI?
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.
yes, mark_as_advanced
is just not to pollute CMakeGUI
This reverts commit 662785c.
Reverted last commit due to conflict with other variables: |
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.
Looking good!
Changelog: Feature: Move the definition of CMakeDeps variables to its own file
Docs: conan-io/docs#2055
CMakeDeps generator now creates a new mypkg-release-x86-data.cmake file per configuration where the information of the
cpp_info
is added without getting dynamic values from any other CMake functionality or macro.This new file(s) is included in the config cmake files as well as the old Target-<build_type>.cmake where the "dynamic" variables are defined (variables that have values assignated after calling macros or cmake functionality)
The implementation is done for recipes defining components and for recipes that do not have components.
As per #8636:
*_INCLUDE_DIR
,*_INCLUDES
develop
branch, documenting this one.Note: By default this PR will skip the slower tests and will use a limited set of python versions. Check here how to increase the testing level by writing some tags in the current PR body text.