docs
docs copied to clipboard
No generators explanation for conan.tools.cmake.CMakeToolchain initialiser
The docs here
https://github.com/conan-io/docs/blob/develop/reference/conanfile/tools/cmake/cmaketoolchain.rst#constructor
says
constructor
def init(self, conanfile, generator=None):
conanfile: the current recipe object. Always use self.
namespace: this argument avoids collisions when you have multiple toolchain calls in the same recipe. By setting this argument, the conanbuild.conf file used to pass information to the build helper will be named as:
but the 2nd arg is generator, not namespace,