[Question] How to use conanfile.txt with new API ?
See original GitHub issueI’ve read updated README.md:
conan_cmake_run() high level wrapper
This function is not the recommended way of using cmake-conan any more and will be deprecated in the near future ...
But only this function is support conanfile.txt
!!
@czoido
How to use conanfile.txt
with new API ?
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
conanfile.txt — conan 1.53.0 documentation
Reference for conanfile.txt sections: requires, generators, etc. ... If your previous folders use an @ in the path name, use a trailing (even...
Read more >Conan Documentation - Conan Docs
New APIs, tools, methods, helpers can be added in following 1.X versions. ... Let's create a conanfile.txt inside our project's folder with.
Read more >Conan Documentation - Conan Docs
New APIs, tools, methods, helpers can be added in following. 2.X versions. ... Have any questions? ... This project will use a conanfile.txt...
Read more >Conan Documentation - Conan Docs
New APIs, tools, methods, helpers can be added in following 1.X ... Versions defined in the conanfile.txt take precedence over versions ...
Read more >Using conanfile.txt and conanfile.py in the same directory
By default Conan prefers conanfile.py, but you can use any name that you want. To use a specific file you need to pass...
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 FreeTop 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
Top GitHub Comments
Found it: I had to add after
conan_cmake_install
Hi @redradist, Thanks for the question. Yes, that’s exactly how to do that,
conan_cmake_configure
is the function to create a conanfile.txt on the fly and just not calling that is enought. I’ll add an extra note in the README to clarify this.