Add library.json for PlatformIO support

This patch add support for using cJSON as platformIO library. Simply
clone the cJSON repo in PlatformIO Project under "<project_root>/lib"
directory. PlatformIO Library dependency finder will automatically find
it without any extra work needed to use the library in project.

Signed-off-by: Ajay Bhargav <contact@rickeyworld.info>
This commit is contained in:
Ajay Bhargav 2021-05-05 16:16:07 +05:30 committed by Ajay Bhargav
parent 6d7997a1c8
commit a4ffeebc73

18
library.json Normal file
View File

@ -0,0 +1,18 @@
{
"name": "cJSON",
"version": "1.7.14",
"frameworks": "*",
"platforms": "*",
"dependencies": [
],
"build": {
"srcFilter": [
"-<*>",
"+<cJSON.c>"
],
"flags": [
"-I ./"
]
}
}