I'm new to conan and I've been going through several youtube videos for Conan and what I'm not clear about how the consumer of the library will know where the library will be hosted. It's an open source c project hosted on github let's say at github.com/username/foo
MyLibrary conanfile.py
looks like this
from conans import ConanFile
class Foo(ConanFile):
def build(self):
cmake = CMake(self)
cmake.configure(source_dir="src")
cmake.build()
cmake.install()
I understand this conanfile.py should be on the root of my github project.
Users of the Library
I found this file from somewhere that users of the library should having in their root directory.
[requires]
folly/2019.10.21.00
[generators]
cmake
- What is folly/2019.10.21.00 in this case?
- How my consumer conanfile.txt of MyLibrary should look like?
- Please also review my producer file.
- Essentially how can I distribute my library
Edit:
for 1) I found the answer here but how do I specify about the github link I've.