[question] How to make option `shared` true by default when using conanfile.txt?
See original GitHub issueHow to make option shared
true by default?
Because a header only lib doesn’t support option shared
, it can’t be set in profile.
For preference, how to make option shared
true by default?
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
[bug] option shared as True in default profiles not work #9397
The log show that option shared is "True", but the result is a static lib, ... Using cmake global configuration -- Conan: Adjusting...
Read more >conanfile.txt — conan 1.53.0 documentation
List of options scoped for each package like package_name:option = Value. [requires] poco/1.9.4 zlib/1.2.11 [generators] cmake [options] poco:shared=True ...
Read more >What is the difference between conanfile.py ... - Stack Overflow
The files are: conanfile.py is a Conan "recipe". It declares dependencies, how to build a package from sources. The same recipe can be...
Read more >Using Conan in a real-world complex project - Kristian Jerpetjøn
At IncludeOS we're building a library operating system for embedded and servers using conan.In this talk we'll show you how we utilize conan ......
Read more >Using Conan for Qt6 - Qt Wiki
1 Conan package manager · 2 Prerequisites · 3 Installing Conan · 4 Conan configuration · 5 Connecting to Conan remote · 6...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
No, the option should be ignored if the recipe does not add it. I’m closing the issue as the problem seems solved, please feel free to reopen if you have further questions.
*:shared=True
is ok Will*:shared=True
lead to failure if some lib doens’t have optionshared
?