-
Notifications
You must be signed in to change notification settings - Fork 993
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]How to enable jumping to the source files of dependencies in Visual Studio? #16839
Comments
Thanks for your question. Short answer: this is not possible, this is not a Conan limitation per-se. Long answer: Note the dependencies are packages. Most of the time, they source code will not even exist in your machine, as Even if the built is done in the current cache, building from source, the final package is that a "package", and the source code is mostly decoupled from the final binaries. This is not even a Conan thing, this is something that even build systems do not model. If doing a Said that, Conan has some tools that might help:
|
Thx for your explain. |
A couple of clarifications:
If there are no further questions, I think the issue can be closed, you can always create new tickets for further questions. thanks! |
Exactly, Issue closed.Thx again. |
Thanks for the feedback! You might also want to track this ticket for the future: #15992 |
What is your question? How to enable jumping to the source files of dependencies in Visual Studio?
For example in simple_cmake_project
with
conanfile.txt
:and I following tutorial:
then I can step into
zlib
's source file when debugging.But my confusion is how to jumping to 3rd lib like
zlib
's function definition(which in.cpp
/.c
) in VS's editor?Any requirements in
CMakeLists.txt
orconanfile.py
of lib/app?Environment details
Thx.
Have you read the CONTRIBUTING guide?
The text was updated successfully, but these errors were encountered: