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

[POC] Using CMake Toolchain files generated by Yocto #39

Open
uilianries opened this issue Dec 27, 2022 · 0 comments
Open

[POC] Using CMake Toolchain files generated by Yocto #39

uilianries opened this issue Dec 27, 2022 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@uilianries
Copy link
Member

@JanDorniak99 has commented about using Yocto cmake toolchain file instead of environment variables as we are doing now. Since Yocto 4.0 (2022) it's able to generate CMake toolchain files, which worth a try, since Conan client now supports natively those toolchain files too and it's much safer than env vars.

So, I'm not a Conan user, but decided to drop in here because I found a Yocto-related issue on your GitHub in an unrelated search. This didn't feel like something to open an issue on your GH, but just as an FYI, since Kirkstone (4.0), when building an SDK, Yocto generates CMake toolchain files to use after installation. One that doesn't need any sort of environmental variables set to work. I've also found Yocto maintainers generally receptive, so if you can't get everything working on your end, maybe try working with them? Most of the code actually driving Yocto builds is Python (with some shell in places), so it's not an unfamiliar language for you folks here. In case anyone is interested, here is the issue for generating that toolchain file https://bugzilla.yoctoproject.org/show_bug.cgi?id=14644

@uilianries uilianries added the help wanted Extra attention is needed label Dec 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant