Skip to content

Add documentation for integration with CMake and hunter - #671

Merged
nlohmann merged 2 commits into
nlohmann:developfrom
dan-42:develop
Aug 1, 2017
Merged

nlohmann merged 2 commits into
nlohmann:developfrom
dan-42:develop

Conversation

@dan-42

@dan-42 dan-42 commented Jul 31, 2017

Copy link
Copy Markdown
Contributor

here you go, as requested. I added again the LANGUAGES CXX and also added the documenation about using it with CMake and CMake with hunter.
Hunter just released his latest version with supporting the version v2.1.1 of nlohman_json 👍

@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 100.0% when pulling 2199131 on dan-42:develop into 850d856 on nlohmann:develop.

@nlohmann nlohmann left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't want to have a too long explanation for all the different package managers. The description should be written so that people already familiar with the package managers know what to do.

Comment thread README.md Outdated
[...]
hunter_add_package(nlohmann_json)
find_package(nlohmann_json CONFIG REQUIRED)
target_link_libraries(... nlohmann_json)

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is quite verbose. Is it possible to describe this shorter as it is done for Meson, Conan, or Homebrew?

@dan-42

dan-42 commented Jul 31, 2017

Copy link
Copy Markdown
Contributor Author

Ohh ok.
So I changed it and kept it simple. Hope this is what you want?

@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 100.0% when pulling db0b973 on dan-42:develop into e60002a on nlohmann:develop.

@nlohmann nlohmann left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@nlohmann
nlohmann merged commit 76ecb2b into nlohmann:develop Aug 1, 2017
@nlohmann

nlohmann commented Aug 1, 2017

Copy link
Copy Markdown
Owner

Thanks a lot!

@nlohmann nlohmann self-assigned this Aug 1, 2017
@nlohmann nlohmann added this to the Release 3.0.0 milestone Aug 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants