-
Notifications
You must be signed in to change notification settings - Fork 146
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
A single header version? #96
Comments
May be defining If you want everything appears in a single heder file, take a look at Amalgamate. :-) Related issue: #37 |
I gave Amalgamate a shot.
|
I started working on this and I got something that seems to work. See for yourself. Though the problem is that docopt is not written as a header-only library. Simply defining I'm considering doing the conversion but I'd like to hear what others think on the matter. I just noticed a |
Yeh .. I'm open to something like that. Nlohmann json has that. The downside is that people that make patches have an extra step (to generate the header) and may accidentally patch the single-header and have to redo their patch. But it works for them, so it might be ok. |
Could we have a single header version of DOCOPT without any external dependencies (other than STL), please?
The text was updated successfully, but these errors were encountered: