Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I was looking for a nice C/C++ arg parser, where I stumbled upon your repository. I however like to build my projects with CMake and manage my external dependencies with the
FetchContent
command. I added the necessarry files to do that and build and install it locally by downloading cloning the repo. For local installation a user just has to runif the user wants to run tests they have to run
Similarly you can also build the examples like that. Now if you want to use the library after installation in a project you just have to follow this simple example:
Or if the library should not be installed globally but only for building a binary one can use
FetchContent
:Cheers
Linus