The code I use consists of set of modules, compiled to individual libraries. Libraries in turn, are linked in different combinations to build different binaries.
So for, it's pretty ordinal.
Different modules use different command line arguments and I want to use Boost.Program_options for parsing.
Since the set of command line arguments depends on what libraries are link together, I don't know in advance all arguments and therefore can not add them to program_options::options_description.
How do you enable to each module to add it's command line arguments and later read them?
Thanks