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

Usage with cmake #500

Open
Leon0402 opened this issue Aug 23, 2020 · 3 comments
Open

Usage with cmake #500

Leon0402 opened this issue Aug 23, 2020 · 3 comments

Comments

@Leon0402
Copy link

Hi,

I just wanted to mention that CLI11 works perfectly with FetchContent of cmake, which is in my opinion the easiest and best way of inclusion. Presumably this could be added to the docs?

@henryiii
Copy link
Collaborator

Sure, it was rather new at the time of writing, but now FetchContent is becoming rather popular.

@henryiii
Copy link
Collaborator

A PR is the fastest way to get it in. ;)

@Leon0402
Copy link
Author

Leon0402 commented Sep 7, 2020

I'm a little bit busy with other things right now, I just wanted to mention that it is already possible. Maybe that already helps people searching for it. Otherwise someone else might have the time to add this to the docs.

oparkins added a commit to oparkins/CLI11 that referenced this issue Jul 13, 2021
- Added example CMake instructions to fetch CLI11 and add it to a
  project.
- Added additional information about what header to use successfully.

Related to CLIUtils#500
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 a pull request may close this issue.

2 participants