Skip to content
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

[question] cmake/graphviz to have target dependencies graph #12496

Closed
EstebanDugueperoux2 opened this issue Nov 9, 2022 · 2 comments · Fixed by #12509
Closed

[question] cmake/graphviz to have target dependencies graph #12496

EstebanDugueperoux2 opened this issue Nov 9, 2022 · 2 comments · Fixed by #12509
Milestone

Comments

@EstebanDugueperoux2
Copy link

Hi conan community,

I try to analyse cmake targets dependencies on an existing project using cmake (https://cmake.org/cmake/help/latest/module/CMakeGraphVizOptions.html) and freshly integrated with conan.
I would like to pass "--graphviz=" parameter to cmake invocation from cmake.configure() but https://docs.conan.io/en/latest/reference/conanfile/tools/cmake/cmake.html#configure doesn't provides a cli_args parameter as in cmake.build() method.
Would it be possible to have a cli_args parameter for configure method?
Would it be compatible with toolchain used from CMakeToolChain?

Regards.

@czoido
Copy link
Contributor

czoido commented Nov 10, 2022

Hi @EstebanDugueperoux2,

Thanks a lot for the suggestion, I'm adding this to the 1.55 to consider adding an argument to the CMake build helper via the configure method.

@czoido
Copy link
Contributor

czoido commented Nov 11, 2022

New argument cli_args in configure method will be available in Conan 1.55. Thanks a lot for the feedback @EstebanDugueperoux2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants