Skip to content

Frozen modules shouldn't be written to the source tree on Windows #113258

Closed
@itamaro

Description

@itamaro

Feature or enhancement

Proposal:

As a follow-up to gh-113039, this issue suggests we change the Windows build to avoid writing the generated frozen modules back into the source tree.

Quoting @zooba

I'm not sure where the relative path came from, but I don't like it. I'm also not a huge fan of generated files going back into the source tree (I prefer them in $(IntDir) so that read-only source trees are supported)

This is already the case on Linux and MacOS, so making Windows use $(IntDir) for these is also more consistent.

While we're there, consider also changing getpath.c again to include getpath.h, as suggested here.

Has this already been discussed elsewhere?

This is a minor feature, which does not need previous discussion elsewhere

Links to previous discussion of this feature:

Previous discussion: gh-113039

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    OS-windowsbuildThe build process and cross-buildtype-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions