You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The self.source_folder and self.build_folder are empty inside the generate method when doing a conan install. While conan create works as I would expect it. I'm using conan version 1.45.0.
Is this desired behavior?
Using following conanfile:
from conans import ConanFile
class Test(ConanFile):
version = "1.2.3"
name = "test"
def generate(self):
self.output.info("generate sf: {}".format(self.source_folder))
self.output.info("generate bf: {}".format(self.build_folder))
It also had a bug, only the source folder was being computed, so I have submitted #10567 to fixe build_folder for next release 1.46. Thanks for reporting!
The
self.source_folder
andself.build_folder
are empty inside the generate method when doing aconan install
. Whileconan create
works as I would expect it. I'm using conan version 1.45.0.Is this desired behavior?
Using following conanfile:
Output
conan install
Output
conan create
The text was updated successfully, but these errors were encountered: