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

fix relativize paths in Environment generated files #15592

Merged
merged 6 commits into from
Feb 12, 2024

Conversation

memsharded
Copy link
Member

@memsharded memsharded commented Feb 5, 2024

Changelog: Fix: Fix relativize paths in generated files.
Docs: Omit

Close #15585

This is only the first step, only for "VirtualXXXEnv" there is more to do: CMakeToolchain and CMakeDeps are using relativization of paths, which is fragile, that can be improved. But this is more challenging to know what is a path and what not, so probably using better pattern matching for paths is the way to go in this case.

@memsharded memsharded marked this pull request as ready for review February 8, 2024 14:42
@memsharded memsharded changed the title fix relativize paths in generated files fix relativize paths in Environment generated files Feb 8, 2024
@czoido czoido merged commit cd05d59 into conan-io:develop2 Feb 12, 2024
2 checks passed
@memsharded memsharded deleted the fix/relativize branch February 12, 2024 10:41
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 this pull request may close these issues.

[bug] EnvVars.save_script() generates incorrect paths when placing a recipe in /build/ folder
4 participants