-
Notifications
You must be signed in to change notification settings - Fork 1k
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] The usage of runenv #17757
Comments
The |
Thanks for you reply! This page https://docs.conan.io/2/reference/conanfile/methods/package_info.html says that bindirs will automatically added to the runenv scripts, and the default bindirs is ['bin']. It seems that when I package my prebuilt binaries, there is no need to explicitly set the Question:
|
It seems that both dep.runenv_info and require.run are false for my requirements.
|
I figured it out. I have to explicitly set run=True when I use my created "opencv_enhanced" package. For spdlog, if I set options={"shared"=True}, it will automatically set run=True. But for my created "opencv_enhanced" package, there is no such option can be set in recipe.
|
The Likewise, other side feedback: |
I understand now. thank you. |
What is your question?
This link https://github.com/conan-io/conan-center-index/blob/master/recipes/spdlog/all/conanfile.py shows the recipe of spdlog.
I found that although there's no runenv relative setting in package_info() method, but when I built my app with shared spdlog dependency, after I activated the runenv script , the spdlog bin folder can still be added to PATH. Why?
Have you read the CONTRIBUTING guide?
The text was updated successfully, but these errors were encountered: