Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[osx/ios] since we build libboost_date_time, might as well make with …
…correct internal paths
- Loading branch information
bbdd73f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well ... this, and serialization are needed because of threads. Since I now have the threading so that we can plug in other implementations, and since I have a pthreads implementation done, I think we could drop these three boost packages if I did a native windows implementation (which should simply follow the same pattern as the pthreads implementation). What do you think?
bbdd73f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we don't link to libboost_date_time, nor does libboost_threads have refs to libboost_date_time. I just added it because I saw some ref to it and figured we might want it sooner or later.
^^ in other words, drop back to pthreads on osx/ios/linux and win native on windows ?
bbdd73f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's an option. It's what I was thinking when I wrote the above.
After talking to elupus I think perhaps boost ought to be the default implementation. But on platforms where that doesn't work there's options (currently native pthreads works). Eventually the separate implementations can be moved to the new std::thread stuff which will (I think) look a lot like boost anyway.
bbdd73f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Turns out, even with the pthreads implementation, I need boost::date_time. Oh well.
bbdd73f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
certainly not a link to libboost_date_time as xbmc does not static link to that lib. must be headers only.
bbdd73f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
true. Which I guess makes it OK - as long as it works on all of our platforms.