You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
https://github.com/nlohmann/json?tab=readme-ov-file#integration
I saw the embed method, it is great.
If I doesnt want to place the entire source tree in a subdirectory and call add_subdirectory() in your CMakeLists.txt file.
What should I do ?
Can I replace the method with this
First I put the https://github.com/nlohmann/json/releases into my project.
where ${NLOHMANNJSON_INCLUDE_DIRS} path is at my project
${NLOHMANNJSON_INCLUDE_DIRS} = deps/nlohmann_json/include
here is my project structure
deps/nlohmann_json/include/nlohmann
Beta Was this translation helpful? Give feedback.
All reactions