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