Skip to content

src: add CheckOptions to Options classes

Rodrigo Muino Tomonari requested to merge github/fork/danbev/check_options into master

This commit adds a CheckOptions function that the options classes can optionally implement to check that options specified are correct (dependencies between options are met or options that are mutually exclusive).

In the process of doing this the error pointer passed to Parse was changed to be of type vector so that potentially multiple options check failures can be reported.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

Merge request reports

Loading