$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] smaller / decoupled `filesystem' module?
From: tom fogal (tfogal_at_[hidden])
Date: 2009-04-07 18:57:02
Konstantin Litvinenko <to.darkangel_at_[hidden]> writes:
> tom fogal пиÑеÑ:
> >
> >  This is a minor part of the application we're writing, so I can't
> >  really justify the size.  Has anybody out there written a `decoupled'
> >  filesystem, with less dependencies on other boost libraries?  Even a
> >  trimmed down version would probably suit or needs for quite some time.
>
> As I understand you, your problem not a size of boost.filesystem or how
> many dependencies it has. The problem is that boost.filesystem can't be
> integrated into your build system with one simple action. Am I right?
No, adding external code to our tree is quite easy and I don't mind
spending the 20 minutes it takes to do so.  The size is really the root
issue.  I asked for a decoupled version because boost.filesystem is
actually pretty small:
  tf_at_shigeru boost_1_38_0 du -hcs libs/filesystem/src/ boost/filesystem
  boost/filesystem.hpp
  72K     libs/filesystem/src/
  148K    boost/filesystem
  4.0K    boost/filesystem.hpp
  224K    total
  tf_at_shigeru boost_1_38_0
so if I didn't need to pull in e.g. MPL to get filesystem, it wouldn't
be as big a deal.
-tom