lpac/driver/http
Coelacanthus 1cc9090769
refactor: make use system cJSON library possible (#314)
* refactor: move cJSON_ex.* to a new object library

Signed-off-by: Coelacanthus <uwu@coelacanthus.name>

* refactor: make use system cJSON library possible

* When USE_SYSTEM_DEPS is set, follow it.
* When USE_SYSTEM_DEPS is unset, try use system cJSON first, and 
  fallback to vendor one if not found.

Signed-off-by: Coelacanthus <uwu@coelacanthus.name>

* refactor: use FetchContent to download cJSON instead of vendor

GIT_REPOSITORY and GIT_TAG SHALL be changed back if [1] was merged and
upstream released new version.

[1]: https://github.com/DaveGamble/cJSON/pull/949

Signed-off-by: Coelacanthus <uwu@coelacanthus.name>

* chore: remove unneeded vendor version cJSON

Signed-off-by: Coelacanthus <uwu@coelacanthus.name>

* chore(ci): more robust license file copy...

Signed-off-by: Coelacanthus <uwu@coelacanthus.name>

---------

Signed-off-by: Coelacanthus <uwu@coelacanthus.name>
2025-09-05 12:55:49 +08:00
..
curl.c feat(driver): read curl version (#307) 2025-08-31 19:03:11 +08:00
curl.h chore(format): reformat all code 2025-08-15 23:11:39 +08:00
stdio.c refactor: make use system cJSON library possible (#314) 2025-09-05 12:55:49 +08:00
stdio.h chore(format): reformat all code 2025-08-15 23:11:39 +08:00