diff options
| author | Matthijs Kooijman <matthijs@stdin.nl> | 2013-05-30 13:35:37 +0200 |
|---|---|---|
| committer | Matthijs Kooijman <matthijs@stdin.nl> | 2013-05-30 19:27:11 +0200 |
| commit | 1f043bb819064d786d106d40ffbff5b92b1a0ced (patch) | |
| tree | 97760ab55c37a811ffda24f0f345882832824f96 /examples/WebServer | |
| parent | 97fa5ae161e3aae3fb5f503effc8b8cb0ee65935 (diff) | |
Compile .ino and .pde files directly
Before, they were copied to a .cpp file to add the Arduino.h/WProgram.h
include. However, this would cause the compiler error messages to not refer to
the right filename, making it hard to use the compiler output in an editor like
vim to point out errors.
By using gcc's -include option, there is no need to modify the ino/pde
file before compiling. However, we will need to explicitely tell gcc
that the source file is c++, because of the non-standard extensions.
Diffstat (limited to 'examples/WebServer')
0 files changed, 0 insertions, 0 deletions
