跳到主要内容

nlohmann-json

  • registry: kmpkgcore
  • type: kumo system both static and shared library.

install

kmpkg install nlohmann-json

add port

add to project dependency list:

kmpkg add port nlohmann-json

kmpkg

kmpkg.json
{
"dependencies": [
"nlohmann-json"
]
}

find nlohmann-json package:

find
find_package(nlohmann_json CONFIG REQUIRED)

link nlohmann-json static:

nlohmann_json::nlohmann_json