-
-
Notifications
You must be signed in to change notification settings - Fork 114
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
Adding support for sketch-specific build properties #29
base: master
Are you sure you want to change the base?
Conversation
Tests for existence of a build_props.txt file in the sketch directory. If present reads properties similar to those found in the hardware and board files, allowing the user to easily customise the build for a specific sketch. Most useful when containing lines similar to compiler.c.extra_flags=-D NDEBUG compiler.cpp.extra_flags=-D NDEBUG -D MYLIBRARY_BUFSIZE=100 which enables the user to have macros defined for all compilation units, including libraries. Signed-off-by: Steve Marple <[email protected]>
One point of consideration: adding sketch-specific build properties allows the user to override |
Addresses #15 |
Assigning to @cmaglie: he will explain why such external defines are considered harmful |
btw, nice code, thank you very much |
ping.. |
@max-weller sorry you missed the news. I no longer work for arduino https://groups.google.com/a/arduino.cc/forum/#!msg/developers/YJLX6AZHem4/kpsLef7XBAAJ |
+1 |
Tests for existence of a build_props.txt file in the sketch
directory. If present reads properties similar to those found in the
hardware and board files, allowing the user to easily customise the
build for a specific sketch. Most useful when containing lines similar
to
which enables the user to have macros defined for all compilation
units, including libraries.
Signed-off-by: Steve Marple [email protected]