Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Config example: json #138

Merged
merged 3 commits into from
Jun 25, 2018
Merged

Config example: json #138

merged 3 commits into from
Jun 25, 2018

Conversation

henryiii
Copy link
Collaborator

@henryiii henryiii commented Jun 25, 2018

Using https://github.com/nlohmann/json 3.1.2. Only try to build this example (with -DCLI11_EXAMPLE_JSON=ON) when using GCC >= 4.9 or clang with the correct c++ library (mismatching libraries is okay in CLI11, but not in the json library).

Also making the to_flag function built into the base class, to make conversion a little simpler. make_and_test now supports pass-through arguments (Travis CI).

@codecov
Copy link

codecov bot commented Jun 25, 2018

Codecov Report

Merging #138 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #138   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          12     12           
  Lines        1682   1682           
=====================================
  Hits         1682   1682
Impacted Files Coverage Δ
include/CLI/ConfigFwd.hpp 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 76f1b7b...95d6cbc. Read the comment docs.

@henryiii henryiii merged commit 4fdf832 into master Jun 25, 2018
@henryiii henryiii deleted the config branch June 25, 2018 17:25
@henryiii henryiii added this to the v1.6 milestone Jun 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant