user.hpp 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. // boost/config/user.hpp ---------------------------------------------------//
  2. // (C) Copyright John Maddock 2001.
  3. // Use, modification and distribution are subject to the
  4. // Boost Software License, Version 1.0. (See accompanying file
  5. // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  6. // Do not check in modified versions of this file,
  7. // This file may be customized by the end user, but not by boost.
  8. //
  9. // Use this file to define a site and compiler specific
  10. // configuration policy:
  11. //
  12. // define this to locate a compiler config file:
  13. // #define BOOST_COMPILER_CONFIG <myheader>
  14. // define this to locate a stdlib config file:
  15. // #define BOOST_STDLIB_CONFIG <myheader>
  16. // define this to locate a platform config file:
  17. // #define BOOST_PLATFORM_CONFIG <myheader>
  18. // define this to disable compiler config,
  19. // use if your compiler config has nothing to set:
  20. // #define BOOST_NO_COMPILER_CONFIG
  21. // define this to disable stdlib config,
  22. // use if your stdlib config has nothing to set:
  23. // #define BOOST_NO_STDLIB_CONFIG
  24. // define this to disable platform config,
  25. // use if your platform config has nothing to set:
  26. // #define BOOST_NO_PLATFORM_CONFIG
  27. // define this to disable all config options,
  28. // excluding the user config. Use if your
  29. // setup is fully ISO compliant, and has no
  30. // useful extensions, or for autoconf generated
  31. // setups:
  32. // #define BOOST_NO_CONFIG
  33. // define this to make the config "optimistic"
  34. // about unknown compiler versions. Normally
  35. // unknown compiler versions are assumed to have
  36. // all the defects of the last known version, however
  37. // setting this flag, causes the config to assume
  38. // that unknown compiler versions are fully conformant
  39. // with the standard:
  40. // #define BOOST_STRICT_CONFIG
  41. // define this to cause the config to halt compilation
  42. // with an #error if it encounters anything unknown --
  43. // either an unknown compiler version or an unknown
  44. // compiler/platform/library:
  45. // #define BOOST_ASSERT_CONFIG
  46. // define if you want to disable threading support, even
  47. // when available:
  48. // #define BOOST_DISABLE_THREADS
  49. // define when you want to disable Win32 specific features
  50. // even when available:
  51. // #define BOOST_DISABLE_WIN32
  52. // BOOST_DISABLE_ABI_HEADERS: Stops boost headers from including any
  53. // prefix/suffix headers that normally control things like struct
  54. // packing and alignment.
  55. // #define BOOST_DISABLE_ABI_HEADERS
  56. // BOOST_ABI_PREFIX: A prefix header to include in place of whatever
  57. // boost.config would normally select, any replacement should set up
  58. // struct packing and alignment options as required.
  59. // #define BOOST_ABI_PREFIX my-header-name
  60. // BOOST_ABI_SUFFIX: A suffix header to include in place of whatever
  61. // boost.config would normally select, any replacement should undo
  62. // the effects of the prefix header.
  63. // #define BOOST_ABI_SUFFIX my-header-name
  64. // BOOST_ALL_DYN_LINK: Forces all libraries that have separate source,
  65. // to be linked as dll's rather than static libraries on Microsoft Windows
  66. // (this macro is used to turn on __declspec(dllimport) modifiers, so that
  67. // the compiler knows which symbols to look for in a dll rather than in a
  68. // static library). Note that there may be some libraries that can only
  69. // be linked in one way (statically or dynamically), in these cases this
  70. // macro has no effect.
  71. // #define BOOST_ALL_DYN_LINK
  72. // BOOST_WHATEVER_DYN_LINK: Forces library "whatever" to be linked as a dll
  73. // rather than a static library on Microsoft Windows: replace the WHATEVER
  74. // part of the macro name with the name of the library that you want to
  75. // dynamically link to, for example use BOOST_DATE_TIME_DYN_LINK or
  76. // BOOST_REGEX_DYN_LINK etc (this macro is used to turn on __declspec(dllimport)
  77. // modifiers, so that the compiler knows which symbols to look for in a dll
  78. // rather than in a static library).
  79. // Note that there may be some libraries that can only
  80. // be linked in one way (statically or dynamically),
  81. // in these cases this macro is unsupported.
  82. // #define BOOST_WHATEVER_DYN_LINK
  83. // BOOST_ALL_NO_LIB: Tells the config system not to automatically select
  84. // which libraries to link against.
  85. // Normally if a compiler supports #pragma lib, then the correct library
  86. // build variant will be automatically selected and linked against,
  87. // simply by the act of including one of that library's headers.
  88. // This macro turns that feature off.
  89. // #define BOOST_ALL_NO_LIB
  90. // BOOST_WHATEVER_NO_LIB: Tells the config system not to automatically
  91. // select which library to link against for library "whatever",
  92. // replace WHATEVER in the macro name with the name of the library;
  93. // for example BOOST_DATE_TIME_NO_LIB or BOOST_REGEX_NO_LIB.
  94. // Normally if a compiler supports #pragma lib, then the correct library
  95. // build variant will be automatically selected and linked against, simply
  96. // by the act of including one of that library's headers. This macro turns
  97. // that feature off.
  98. // #define BOOST_WHATEVER_NO_LIB
  99. // BOOST_LIB_BUILDID: Set to the same value as the value passed to Boost.Build's
  100. // --buildid command line option. For example if you built using:
  101. //
  102. // bjam address-model=64 --buildid=amd64
  103. //
  104. // then compile your code with:
  105. //
  106. // -DBOOST_LIB_BUILDID = amd64
  107. //
  108. // to ensure the correct libraries are selected at link time.
  109. // #define BOOST_LIB_BUILDID amd64