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

Simplify building with MinGW toolchain #2211

Merged
merged 1 commit into from
Aug 6, 2022
Merged

Conversation

mmuetzel
Copy link
Contributor

IIUC, Phoenix is built with a MSVC toolchain on Windows by default.
While it is also possible to build it with a MinGW toolchain, this requires that some files of the build system are modified manually. The files that need changes include wscript and buildtools/config.py.

To simplify building with a MinGW toolchain a little bit, add a new option --no_msvc for waf that switches from a MSVC toolchain to a MinGW toolchain on Windows.
Without that option, the MSVC toolchain continues to be used on Windows. So by default, MSVC is used like before this change.

Add a waf option `--no_msvc` that switches from a MSVC toolchain to a MinGW toolchain on Windows.
@RobinD42
Copy link
Member

RobinD42 commented Aug 6, 2022

I'll merge this, but it would also be good to add a flag for build.py so it will also use MinGW to build wxWidgets, and also pass your new --no_msvc flag to waf.

@RobinD42 RobinD42 merged commit 5462625 into wxWidgets:master Aug 6, 2022
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.

2 participants