Arx Libertatis Bug Tracker
star_faded.png
Please log in to bookmark issues
task_small.png
CLOSED  Task #353  -  Remove dependency on boost::program_options
Posted Aug 06, 2012 - updated Jun 30, 2013   Shortlink: http://arx.vg/353
action_vote_minus_faded.png
0
Votes
action_vote_plus_faded.png
icon_info.png This issue has been closed with status "Done" and resolution "RESOLVED".
Issue details
  • Type of issue
    Task
  • Status
     
    Done
  • Assigned to
    Not assigned to anyone
  • Progress
       
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
  • Posted by
     Daniel Scharrer
  • Owned by
    Not owned by anyone
  • Estimated time
    Not estimated
  • Time spent
    21 weeks, 4 days, 10 hours
  • Category
    Not determined
  • Resolution
    RESOLVED
  • Priority
    Not determined
  • Targetted for
    icon_milestones.png Not determined
  • OS
    icon_customdatatype.png Not determined
  • Architecture
    icon_customdatatype.png Not determined
  • Fixed in
    icon_customdatatype.png Arx Libertatis 1.1
Issue description
We use boost::po to parse command-line parameters.

While it is an o.k. library, the interface is not as nice as it could be and, being the only non-header-only Boost library we use, isn't enough to justify the run-time dependency on Boost - which means binary incompatibility with each new Boost version.

We should replace boost::po with something more minimal or possibly write or own command-line parser - we don't need much functionality here anyway. The hardest part will be maintaining compatibility with current command-line options and all variations boost::po allows (within reason).

#6
icon_reply.pngReply
Comment posted by
 Daniel Scharrer
Jun 30, 12:06
Changes have been merged to master.

The issue was updated with the following change(s):
  • This issue has been closed
  • The status has been updated, from Being worked on to Done.
  • The resolution has been updated, from Not determined to RESOLVED.
  • Information about the user working on this issue has been changed, from SebastienLussier to Not being worked on.
  • Time spent on this issue, from No time spent to 21 weeks, 4 days, 10 hours.
  • The assignee has been changed to Not assigned.
  • This issue's progression has been updated to 100 percent completed.