conan

How do I make a Conan test package require the package that it is testing? Specifically if the package version is dynamic?

How do I make a Conan test package require the package that it is testing? Specifically if the package version is dynamic? Question: let’s say I have a package: from conans import ConanFile class MainLibraryPackage(ConanFile): name = ‘main’ description = ‘stub’ def set_version(self): self.version = customFunctionToGetVersion() … And I have a test package for it: …

Total answers: 1

How can I specify a specific default installation directory with Conan?

How can I specify a specific default installation directory with Conan? Question: I am seeking to deploy (on Linux) a Conan package on a system and there is no deploy() method specified in the conanfile.py. So (I believe) this means the package will be installed in the current directory. Instead I’d like to specify a …

Total answers: 3