Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs/how-to-guides/meson-args.rst
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,10 @@ permanently in the project's ``pyproject.toml``:
[tool.meson-python.args]
setup = ['--vsenv']

# In case you want to build Windows wheels using cibuildwheel
[tool.cibuildwheel.windows]
config-settings = { setup-args = ["--vsenv"] }
Comment on lines +193 to +195

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this won't properly work when you are building the wheel on cygwin/msys2

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is true. But since the whole section was about MSVC, I saw little risk of someone adding this option while actually building the wheel on msys2. Do you think this needs further clarification, eg in the comment above the snippet?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh my bad, i didnt realized that it was part of a MSVC section


To set this option temporarily at build-time:

.. tab-set::
Expand Down