docopt.cpp
docopt.cpp copied to clipboard
C++11 port of docopt
It seems that this repository is not very active, which is a shame as there seem to be some interesting PRs waiting to be reviewed/merged. It could be great to...
Sometimes if an option is too long, it looks better when its description starts on a new line. Such behaviour is supported (though it is not documented) by the original...
There are several reasons why an options section can be split by an empty line, among them are: - logically grouping; - aesthetic reasons. Such style is used, for example,...
Currently when docopt is installed for different build types the last build overrides the libraries. This PR adds a default postfix based on the build type. [issue](https://github.com/opensim-org/opensim-core/issues/1786)
This enables other projects to use docopt via "find_package()" whithout installing the docopt package itself. See cmake [documentation](https://cmake.org/cmake/help/v3.7/command/export.html?highlight=export) for further info in this.
It seems that the Android NDK doesn't fully support the C++11 standard, at least when targeting older API levels. I've replaced some string integer functions with older implementations to workaround...
fix for https://github.com/docopt/docopt.cpp/issues/45
package registry so other projects can use this one without requiring to install the package.
Given this, WORKSPACE: ``` http_archive( name = "docopt_cpp", url = "http://github.com/nikodemus/docopt.cpp/zipball/bazel-support/", sha256 = "a7f191ae531994069680b4fd20a6d310246dc980c18db35f92a31bbfde45bed6", strip_prefix = "nikodemus-docopt.cpp-47c7302", type = "zip", ) ``` BUILD: ``` cc_binary( name = "example", srcs =...