Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[develop2] Allow passing pathname to other conanfile.txt #604

Open
timwoj opened this issue Dec 13, 2023 · 2 comments
Open

[develop2] Allow passing pathname to other conanfile.txt #604

timwoj opened this issue Dec 13, 2023 · 2 comments

Comments

@timwoj
Copy link

timwoj commented Dec 13, 2023

The develop2 branch appears to require you to have conanfile.py or conanfile.txt in the root of your project. We're only using conan on Windows, so we're storing our conanfile with some other Windows-specific build/CI files. It'd be nice to be able to pass a path to cmake/conan to specify where to look for the conanfile instead of fixing it to a specific location.

@li-dl
Copy link

li-dl commented Jan 10, 2025

It'd be nice to be able to pass a path to cmake/conan to specify where to look for the conanfile instead of fixing it to a specific location.

Seconded.

I see that @timwoj created a pull request for this (#605) that solved the issue by adding a CONAN_CONANFILE_TXT_PATH variable, but the source repo was deleted before the PR was reviewed.

Was the idea sound? Should I update the pull request and resubmit it?

@snakethatlovesstaticlibs

+1, we have a number of lockfiles for different flavors of the build, and we want to specify which one should be used

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants