-
-
Notifications
You must be signed in to change notification settings - Fork 114
Improve handling of sketch source file handling #86
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
Comments
To implement some of these things, it is probably needed to slightly rework the compilation process, by first listing files in the (original) sketch and then running the rest of the preparation and mbuild process based on that list, instead of repeatedly listing files in different directories. |
Hi! 3 An easy way to specify extra #include directories would be nice. Thanks, |
My proposal was indeed to not clean out any files automatically (except for an automatically created temporary build directory when the IDE is closed, which already happens). Your third request is off-topic for this issue, IIRC there is another one that requests something similar to that that you might want to subscribe to. |
Hi, I created issue 323 add #line directive to source files that is related to your proposal and contains a part of your original text. |
Prompted by arduino/Arduino#4335 I noticed that the way that sketch source files are handled in arduino-builder should probably be improved. There's a few sides to this:
#line
directives, so the compiler knows the original filename (which can help with error messages and debugging symbols).Some of these might be somewhat separate, but I mostly wanted to get these thoughts out of my head so I won't forget about them later :-)
The text was updated successfully, but these errors were encountered: