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