#properties for library Foodepends=Wireboards=arduino.Mega arduino.Nano xmega.XPlain
A good idea per se, but it will break the (for me) precious c/c++ compatability.
Arduino is an open-source electronics prototyping platform based on flexible, easy-to-use hardware and software. It's intended for artists, designers, hobbyists, and anyone interested in creating interactive objects or environments.
I also thing this will be a problem when the users start to #library in the libraries themselves.
Either the IDE need to parse all files for #library, or we need to state that the #library is only allowed in Sketches [that are not libraries].What would you want?
Is it easiest to learn that you always #include other files, or that you #library libraries, but you #include if you write a library.
from: http://arduino.cc/en/Reference/LibrariesContributed LibrariesTo install a contributed library, unzip it to the libraries sub-folder of your sketchbook. For details, see the page on the Arduino environment.
from: http://arduino.cc/en/Guide/Environment#librariesLibrariesLibraries provide extra functionality for use in sketches, e.g. working with hardware or manipulating data. To use a library in a sketch, select it from the Sketch > Import Library menu. This will insert one or more #include statements at the top of the sketch and compile the library with your sketch. Because libraries are uploaded to the board with your sketch, they increase the amount of space it takes up. If a sketch no longer needs a library, simply delete its #include statements from the top of your code.There is a list of libraries in the reference. Some libraries are included with the Arduino software. Others can be downloaded from a variety of sources. To install these third-party libraries, create a directory called libraries within your sketchbook directory. Then unzip the library there. For example, to install the DateTime library, its files should be in the /libraries/DateTime sub-folder of your sketchbook folder.
I love the idea of a #library in arduino...
I like the idea of early checking for libraries... and especially having dependencies in a .properties file... there have been breaking changes to arduino in the past that required me to rewrite libraries, and this might've addressed some of the issues I had...