title: How to use Boost.Filesystem standalone?
body: <p>I haven't used Boost before and I want to change that now. But I only need one of its libraries which is Boost.Filesystem. I successfully built the libraries and linked the one from the <code>boost/libs/filesystem</code> folder to my Visual Studio project.</p>
  
  <p>Then I copied <code>boost/filesystem.cpp</code> and the folder <code>boost/filesystem</code> with its content to the include directory of my project. But that wasn't enough since the compiler complained about many boost related files that were missing.</p>
  
  <p>Here are some examples, but there are much more.</p>
  
  <pre><code>boost/utility/enable_if.hpp
  boost/type_traits/is_integral.hpp
  boost/type_traits/is_array.hpp
  boost/type_traits/decay.hpp
  boost/system/system_error.hpp
  ...
  </code></pre>
  
  <p>How can I use Boost.Filesystem as a standalone library? I don't want to use the the whole collection since I want to store libraries in the project directory and therefore it would bloat up my project size unnecessarily.</p>