|
|
|||
File indexing completed on 2025-12-16 09:44:43
0001 // boost/config/user.hpp ---------------------------------------------------// 0002 0003 // (C) Copyright John Maddock 2001. 0004 // Use, modification and distribution are subject to the 0005 // Boost Software License, Version 1.0. (See accompanying file 0006 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 0007 0008 // Do not check in modified versions of this file, 0009 // This file may be customized by the end user, but not by boost. 0010 0011 // 0012 // Use this file to define a site and compiler specific 0013 // configuration policy: 0014 // 0015 0016 // define this to locate a compiler config file: 0017 // #define BOOST_COMPILER_CONFIG <myheader> 0018 0019 // define this to locate a stdlib config file: 0020 // #define BOOST_STDLIB_CONFIG <myheader> 0021 0022 // define this to locate a platform config file: 0023 // #define BOOST_PLATFORM_CONFIG <myheader> 0024 0025 // define this to disable compiler config, 0026 // use if your compiler config has nothing to set: 0027 // #define BOOST_NO_COMPILER_CONFIG 0028 0029 // define this to disable stdlib config, 0030 // use if your stdlib config has nothing to set: 0031 // #define BOOST_NO_STDLIB_CONFIG 0032 0033 // define this to disable platform config, 0034 // use if your platform config has nothing to set: 0035 // #define BOOST_NO_PLATFORM_CONFIG 0036 0037 // define this to disable all config options, 0038 // excluding the user config. Use if your 0039 // setup is fully ISO compliant, and has no 0040 // useful extensions, or for autoconf generated 0041 // setups: 0042 // #define BOOST_NO_CONFIG 0043 0044 // define this to make the config "optimistic" 0045 // about unknown compiler versions. Normally 0046 // unknown compiler versions are assumed to have 0047 // all the defects of the last known version, however 0048 // setting this flag, causes the config to assume 0049 // that unknown compiler versions are fully conformant 0050 // with the standard: 0051 // #define BOOST_STRICT_CONFIG 0052 0053 // define this to cause the config to halt compilation 0054 // with an #error if it encounters anything unknown -- 0055 // either an unknown compiler version or an unknown 0056 // compiler/platform/library: 0057 // #define BOOST_ASSERT_CONFIG 0058 0059 0060 // define if you want to disable threading support, even 0061 // when available: 0062 // #define BOOST_DISABLE_THREADS 0063 0064 // define when you want to disable Win32 specific features 0065 // even when available: 0066 // #define BOOST_DISABLE_WIN32 0067 0068 // BOOST_DISABLE_ABI_HEADERS: Stops boost headers from including any 0069 // prefix/suffix headers that normally control things like struct 0070 // packing and alignment. 0071 // #define BOOST_DISABLE_ABI_HEADERS 0072 0073 // BOOST_ABI_PREFIX: A prefix header to include in place of whatever 0074 // boost.config would normally select, any replacement should set up 0075 // struct packing and alignment options as required. 0076 // #define BOOST_ABI_PREFIX my-header-name 0077 0078 // BOOST_ABI_SUFFIX: A suffix header to include in place of whatever 0079 // boost.config would normally select, any replacement should undo 0080 // the effects of the prefix header. 0081 // #define BOOST_ABI_SUFFIX my-header-name 0082 0083 // BOOST_ALL_DYN_LINK: Forces all libraries that have separate source, 0084 // to be linked as dll's rather than static libraries on Microsoft Windows 0085 // (this macro is used to turn on __declspec(dllimport) modifiers, so that 0086 // the compiler knows which symbols to look for in a dll rather than in a 0087 // static library). Note that there may be some libraries that can only 0088 // be linked in one way (statically or dynamically), in these cases this 0089 // macro has no effect. 0090 // #define BOOST_ALL_DYN_LINK 0091 0092 // BOOST_WHATEVER_DYN_LINK: Forces library "whatever" to be linked as a dll 0093 // rather than a static library on Microsoft Windows: replace the WHATEVER 0094 // part of the macro name with the name of the library that you want to 0095 // dynamically link to, for example use BOOST_DATE_TIME_DYN_LINK or 0096 // BOOST_REGEX_DYN_LINK etc (this macro is used to turn on __declspec(dllimport) 0097 // modifiers, so that the compiler knows which symbols to look for in a dll 0098 // rather than in a static library). 0099 // Note that there may be some libraries that can only 0100 // be linked in one way (statically or dynamically), 0101 // in these cases this macro is unsupported. 0102 // #define BOOST_WHATEVER_DYN_LINK 0103 0104 // BOOST_ALL_NO_LIB: Tells the config system not to automatically select 0105 // which libraries to link against. 0106 // Normally if a compiler supports #pragma lib, then the correct library 0107 // build variant will be automatically selected and linked against, 0108 // simply by the act of including one of that library's headers. 0109 // This macro turns that feature off. 0110 // #define BOOST_ALL_NO_LIB 0111 0112 // BOOST_WHATEVER_NO_LIB: Tells the config system not to automatically 0113 // select which library to link against for library "whatever", 0114 // replace WHATEVER in the macro name with the name of the library; 0115 // for example BOOST_DATE_TIME_NO_LIB or BOOST_REGEX_NO_LIB. 0116 // Normally if a compiler supports #pragma lib, then the correct library 0117 // build variant will be automatically selected and linked against, simply 0118 // by the act of including one of that library's headers. This macro turns 0119 // that feature off. 0120 // #define BOOST_WHATEVER_NO_LIB 0121 0122 // BOOST_LIB_BUILDID: Set to the same value as the value passed to Boost.Build's 0123 // --buildid command line option. For example if you built using: 0124 // 0125 // bjam address-model=64 --buildid=amd64 0126 // 0127 // then compile your code with: 0128 // 0129 // -DBOOST_LIB_BUILDID = amd64 0130 // 0131 // to ensure the correct libraries are selected at link time. 0132 // #define BOOST_LIB_BUILDID amd64 0133
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|