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 preprocessor integration when using along MSBuild #34

Open
AeroStun opened this issue Sep 20, 2021 · 1 comment
Open

Fix preprocessor integration when using along MSBuild #34

AeroStun opened this issue Sep 20, 2021 · 1 comment

Comments

@AeroStun
Copy link
Member

AeroStun commented Sep 20, 2021

Fix the spurious errors, and transform/filter the flags from MS -> GNU format (well, keep only the defines, incdirs, and force-includes)

@AeroStun AeroStun changed the title Fix preprocessor integration when using along MSVC Fix preprocessor integration when using along MSBuild Mar 19, 2022
@AeroStun
Copy link
Member Author

I guess MSBuild does not like error being printed to stderr, because it sure fails the custom build task of sketch generation whenever non-fatal errors are printed by arduino-prelude.
The quickfix is to grab Ninja on-the-fly like we do arduino-prelude; the correct fix is to find out how to make MSBuild not suck

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

No branches or pull requests

1 participant