Robot-Will / Stino

A Sublime Text Plugin for Arduino
Other
1.58k stars 250 forks source link

Dependency Checking - rebuild files that depend on header file #398

Closed KurtE closed 7 years ago

KurtE commented 7 years ago

It appears like there when I change a header file and then issue a build or upload command,

The CPP files and/or INO files are not rebuilt.

Example: I am playing around with my ili9341_t3n library (github.com/kurte) and for example I have the Example sketch: graphictest.ino loaded

When I make edit changes to ili9341_t3n.h, neither the INO file nor the ili9341_t3n.cpp files are recompiled.

To work around this I usually change some build setting, which then rebuilds everything.

Robot-Will commented 7 years ago

I traced the change of .h files, so when you modify the .h files (not including platform core lib files), all source files which include the .h file will be recompiled. Thanks.