I personnaly recommend Tclap, a hearder only solution that do not bring any other dependency, is available through MIT license. What I like is the required/optional arguments, and the fact that it creates usage/help from your definition ... handy. What I don't like is that your need to use exception during parsing, but it's not so bad. Take a look here : http://tclap.sourceforge.net/ My 2 cents, Tom
2012/5/19 Daniel Schürmann <[email protected]>: > Hi Max, > > will this drew boost dependency to Mixxx? > > Googling a little bit I have just found > http://code.google.com/p/qgetopts/ > and > http://api.kde.org/4.x-api/kdelibs-apidocs/kdecore/html/classKCmdLineArgs.html > > Any experience? > > Kind regards, > > Daniel > > > > > 2012/5/19 Max Linke <[email protected]> >> >> Hi >> >> So far we don't really parse any options during start and also get no >> warning if mixxx doesn't know an option. This can be unnerving if you >> forget that mixxx uses CamelCase and wonder what's happening. >> >> To get option parsing cross-platform we could use boost/program_options >> >> http://www.boost.org/doc/libs/1_44_0/doc/html/program_options.html >> >> Any comments why this shouldn't be used or our current system is enough? >> >> best, >> Max >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Get Mixxx, the #1 Free MP3 DJ Mixing software Today >> http://mixxx.org >> >> >> Mixxx-devel mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/mixxx-devel > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Get Mixxx, the #1 Free MP3 DJ Mixing software Today > http://mixxx.org > > > Mixxx-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mixxx-devel ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Get Mixxx, the #1 Free MP3 DJ Mixing software Today http://mixxx.org Mixxx-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mixxx-devel
