Skip to content

windows: msbuild variant support #8032

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

Closed
wants to merge 5 commits into from

Conversation

stinos
Copy link
Contributor

@stinos stinos commented Nov 25, 2021

Continuation of #7780 from @andrewleech so shouldn't be merged until that one is in (note I needed the 'Remove extension from $(PROG) commit' because otherwise PROG becomes micropython.exe.exe).

I sticked to the convention of prefixing msbuild properties with Py (which is done to avoid possible name clashes because there are quite a lot of builtin properties already) so it's PyVariant=dev not VARIANT=dev. Should be ok I think, the README makes it clear.

In principle it's possible to also run the tests for the msvc port through the project file (like the change made for running tests via the Makefile) but that's just more work with not much benefit.

pi-anl and others added 5 commits December 23, 2021 09:08
The application isn't necessarily called 'micropython' especially
not When using variants, i.e. the tests need to be ran using $(PROG).
This is the same fix as applied in uselect_poll_basic.py.
This makes sure changes from previous related commits actually work.
@dpgeorge
Copy link
Member

dpgeorge commented Jan 4, 2022

Merged in 05ed19e (in combination with #7780) through 3f16719

Thank you!

@dpgeorge dpgeorge closed this Jan 4, 2022
@stinos stinos deleted the msbuild-variant branch January 4, 2022 11:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants