cmake-conan icon indicating copy to clipboard operation
cmake-conan copied to clipboard

[Question] Can this scipt be used to create conan packages?

Open maidamai0 opened this issue 3 years ago • 1 comments
trafficstars

The example in README.md shows how to consume packages, can it be used to create packages? If yes, what is the best practice?

maidamai0 avatar Jan 18 '22 04:01 maidamai0

Hi @maidamai0, There's a section in the README that shows how to use the CONAN_EXPORTED variable to know if Conan is creating the package in the local cache and then avoiding importing conan.cmake in that case. Hope this helps

czoido avatar Jan 18 '22 08:01 czoido