/Src/Dependencies/Boost/more/getting_started/detail/header-only.rst

http://hadesmem.googlecode.com/ · ReStructuredText · 57 lines · 42 code · 15 blank · 0 comment · 0 complexity · 4b64cce900ae04ba781a1efbc443f599 MD5 · raw file

  1. .. Copyright David Abrahams 2006. Distributed under the Boost
  2. .. Software License, Version 1.0. (See accompanying
  3. .. file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  4. Header-Only Libraries
  5. =====================
  6. The first thing many people want to know is, how do I build
  7. Boost? The good news is that often, there's nothing to build.
  8. .. admonition:: Nothing to Build?
  9. Most Boost libraries are **header-only**: they consist *entirely
  10. of header files* containing templates and inline functions, and
  11. require no separately-compiled library binaries or special
  12. treatment when linking.
  13. .. .. _separate:
  14. The only Boost libraries that *must* be built separately are:
  15. * Boost.Filesystem_
  16. * Boost.GraphParallel_
  17. * Boost.IOStreams_
  18. * Boost.MPI_
  19. * Boost.ProgramOptions_
  20. * Boost.Python_ (see the `Boost.Python build documentation`__
  21. before building and installing it)
  22. * Boost.Regex_
  23. * Boost.Serialization_
  24. * Boost.Signals_
  25. * Boost.System_
  26. * Boost.Thread_
  27. * Boost.Wave_
  28. __ ../../libs/python/doc/building.html
  29. A few libraries have optional separately-compiled binaries:
  30. * Boost.DateTime_ has a binary component that is only needed if
  31. you're using its ``to_string``\ /\ ``from_string`` or serialization
  32. features, or if you're targeting Visual C++ 6.x or Borland.
  33. * Boost.Graph_ also has a binary component that is only needed if
  34. you intend to `parse GraphViz files`__.
  35. * Boost.Math_ has binary components for the TR1 and C99
  36. cmath functions.
  37. * Boost.Random_ has a binary component which is only needed if
  38. you're using ``random_device``.
  39. * Boost.Test_ can be used in header-only or separately compiled
  40. mode, although **separate compilation is recommended for serious
  41. use**.
  42. __ ../../libs/graph/doc/read_graphviz.html