'How do I create a conanfile.py based on my CMakeFiles.txt?
I've gotten access to the conan-center-index, and must now produce a conanfile.py for a library I'm maintaining, which is built and installed using CMake.
When reading the instructions, You are told to go look at some examples of such files, but I'm still mostly at a lost regarding what I need to actually fill in and what can/should be left to the default. I also see some packages set member fields directly, while others define various methods which set fields, like source() and build() and _configure_cmake().
Is there some way to automate the derivation of a conanfile.py from my library's CMakeLists.txt? If not, can I make do with just setting my package's class fields directly?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
