Henry Schreiner
Henry Schreiner
Did you put `CLI11_PARSE` in main? It has a return statement in it, so it needs to be in main. If you look at the readme, it shows you exactly...
The point of `CLI11_PARSE` is to catch the throw and return. If you want to catch the throw, just call app.parse directly. CLI11_PARSE should only be considered valid from `main`....
The book is a bit out of date, sadly - better than when it was in a different repo, but still a bit behind. Happy to take PRs. I think...
I feel like this is a bit much for the readme, it would be better to put into the book and then link to it? Also not sure about recommending...
I'm a fan of git submodules because a) dependencies are not duplicated for each build directory (I usually have several, up to a dozen or so), and b) you can...
(And I haven't really played with Conan other than to support it, looks rather slick in that example...)
I've shifted the other submodules away (just needed for one example or special procedures), just GTest is left. That will save lots of time/space (Json was huge if recursive checkouts...
Sure, it was rather new at the time of writing, but now FetchContent is becoming rather popular.
A PR is the fastest way to get it in. ;)
I think having the tutorial docs will help here, as we can map out what is currently done (and maybe inspire a plan for what should be done).