platformio-core icon indicating copy to clipboard operation
platformio-core copied to clipboard

`lib_extra_dirs` depreciated but replacement `lib_deps` only allows packages

Open raphael-bmec-co opened this issue 10 months ago • 1 comments

Depreciated according to: https://docs.platformio.org/en/latest/projectconf/sections/env/options/library/lib_extra_dirs.html

As per this there is no way to keep adding a directory of cpp for example.

The specific application for ourselves is adding nested test files in the test directory to the build path so that we get code insights in Clion.

raphael-bmec-co avatar Jan 27 '25 14:01 raphael-bmec-co

I too want to add my own custom library just a .h and .cpp file, at the moment very thing has to be in 'lib' dir. I wanted to add a folder for only sensors ... lib/sensors

But it seems we cannot do that ?

questuk avatar Feb 02 '25 17:02 questuk