Include sketch directory to include search path #354
Labels
conclusion: duplicate
Has already been submitted
topic: code
Related to content of the project itself
type: enhancement
Proposed improvement
When doing libraries with project scope settings I usually do something like
config.h:
If the user want's to override the default settings he can copy
defaultConfig.h
to the sketch folder and rename it touserConfig.h
. Settings will then be read from userConfig.h which works perfectly with platformIO and makefile builds.However, looks like the Arduino builder doesn't include the sketch folder in the search path for include files, so this pattern doesn't work with the Arduino IDE.
Proposal: Include the sketch folder in the search path
The text was updated successfully, but these errors were encountered: