Commit Graph

16 Commits

Author SHA1 Message Date
Mario Badr
b1795c27e4 Use INTERFACE to pass on unicode dependency
Linking the cxxopts library with the unicode libraries and specifying
INTERFACE should ensure executables that link with cxxopts will also
link with the unicode libraries.
2016-11-30 18:01:13 -05:00
Mario Badr
9a2305e020 Merge in unicode fixes 2016-11-30 18:01:13 -05:00
Mario Badr
8fefcdf3c0 Remove superfluous PRIVATE links from executables 2016-11-30 18:01:13 -05:00
Mario Badr
dc3d58833b Do not break backward compatibility
cxxopts.hpp is a single file and should not be in its own directory for
its namespace.
2016-11-30 18:01:13 -05:00
Mario Badr
f4b2e15649 Use cmake interface library 2016-11-30 18:01:13 -05:00
Jarryd Beck
a04284fc2c fix Unicode build 2016-11-30 18:05:34 +11:00
Jarryd Beck
d92988c6a2 Allow for numbers in options
Closes #32. This adds numbers as allowed values in all parts
of short and long option specifiers.
2016-11-16 18:03:35 +11:00
Jarryd Beck
db674a467f test for hiding options 2016-10-27 07:54:42 +11:00
Jarryd Beck
9e3f3115d2 Don't overwrite positional arguments.
Fixes #30. The positional arguments are not overwritten when they
have already been given on the command line.
2016-08-29 18:11:18 +10:00
Jarryd Beck
7b26c50e59 add test with no options 2016-08-26 19:20:55 +10:00
Jarryd Beck
728da0e65a add some more tests 2016-08-26 19:09:40 +10:00
Jarryd Beck
2f86fb1de0 fix test 2016-08-26 18:58:28 +10:00
Jarryd Beck
c6554ddc49 ignore built files 2016-08-26 08:26:42 +10:00
Jarryd Beck
55bfe49aa0 options test 2016-08-26 08:22:04 +10:00
Jarryd Beck
435bc38eff add gitignore 2016-08-25 18:29:00 +10:00
Jarryd Beck
2d480c0228 add testing 2016-08-25 08:49:56 +10:00