In my project, I have multiple sketches that should share the same libraries. So the directory structure should be something like
project-master
project-master/libraries/sampleLibrary.h
project-master/sketches/sketch1/skech1.ino
project-master/sketches/sketch2/sketch2.ino
Where both sketches should include sampleLibrary.h
I know this should be possible because I have downloaded an arduino project that does something similar (libraries are in a directory above the sketch directory) and it just uses #include .
I tried to do the same code and file structure as that project, but it did not work