I am trying to move some files out into folders that I can share with other apps. I can’t get lib_extra_dirs to work.
lib_extra_dirs = /Users/paul/Documents/PlatformIO/Projects/Madsys
to my plaformio.ini by none of the .cpp files in there get compiled.
My structure is
| | main.cpp
| | | Song.h
| | | Song.cpp
build_flags = (…) -I/Users/Paul/Documents/PlatformIO/Projects/Madsys
and the include files work fine.
Everything builds if the Song/ folder is right next to main.cpp
-I~/Documents/PlatformIO/Projects/Madsys broke the includes BTW. This is under OSX High Sierra.