
Michael Powell wrote:
Hello,
Couple of questions about program options config file (and/or response file)...
I went through somewhat of the same last week. As I'm not that practiced with templates I think it was easier to roll my own as I would not be using strict ini format. The program_options ini is parsed in boost/property_tree/ini_parser.hpp I just took that as a basis. (rather than paste, here are my project files with 'profile.ini') <lakeweb.net/content/resize_jpeg.zip> So I parse the ini to get all the categories. Category 'arguments' is passed directly to program_options. Then I can do what I'd like with the rest of the categories. I've also wrapped program_options with my own class and only see what I need to in main. I think my implementation circumvents 'limitations', but can't say. Best, Dan.