• * Fixes #240: Multiple long option names / aliases
    
    * We now use a vector of long option names instead of a single name
    * When specifying an option, you can provide multiple names separated by commas, at most one of which may have a length of 1 (not necessarily the first specified name). The length-1 name is the single-hyphen switch (the "short name").
    * Hashing uses the first long name
    * Option help currently only uses the first long name.
    Eyal Rozenberg authored
     
    Browse Dir »








  • * Cmake Revamp
    
    I needed to do a variety of things to ensure cxxopts worked well in my own project.
    
    I created a new cmake module to abstract a lot of the logic in the main CMakelists.txt, I think it really assists in the readability of the project. Consequently a lot of logic is now written in functions.
    
    I made a lot of the project options off by default unless the project is being built standalone. As a frequent consumer of cmake libraries this is a huge issue. Since examples, tests, installation, etc. aren't things I expect/desired by default when using libraries.
    
    Co-authored-by: Juan Ramos <juanr0911@gmail.com>
    jpr89 authored
     
    Browse Dir »



  • Major refactor of the parsing code organisation to improve encapsulation
    and not modify the input arguments. The returned result no longer has
    pointers into the original option specification.
    Jarryd Beck authored
     
    Browse Dir »