Commit Graph

16 Commits

Author SHA1 Message Date
Mario Badr
6f022bbbe7 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 10:10:30 -05:00
Mario Badr
7851fc4b49 Merge in unicode fixes 2016-11-30 10:06:34 -05:00
Jarryd Beck
a7db3be801 fix Unicode build 2016-11-30 09:58:15 -05:00
Mario Badr
abbb88e82e Remove superfluous PRIVATE links from executables 2016-11-30 09:28:10 -05:00
Mario Badr
95a2a3dc7e 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 09:26:20 -05:00
Mario Badr
2a651aa441 Use cmake interface library 2016-11-29 11:40:47 -05: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