forked from boostorg/boost
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cdp_readme.txt
126 lines (80 loc) · 2.78 KB
/
cdp_readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
========
source
========
todo: make fork in github
https://github.com/cperras/boost.git
[email protected]:cperras/boost.git
key: H:\cdp\merging\docs\ssh
co --recursive
https://github.com/boostorg/boost
https://github.com/boostorg/boost.git
[email protected]:boostorg/boost.git
changed from svn to git
cd H:\dev\boost
git clone --recursive [email protected]:boostorg/boost.git modular-boost > modular_clone.log
==================
build config
==================
edit: boost_user_config.hpp
copy into boost/config
define=BOOST_USER_CONFIG=<boost/config/boost_user_config.hpp>
edit: boost/config/user.hpp
#include "boost/config/boost_user_config.hpp"
or: copy boost_user_config.hpp contents into
H:\dev\boost\boost\libs\config\include\boost\config\user.hpp
zlib
==========
set NO_COMPRESSION=0
set ZLIB_SOURCE=H:\dev\zlib\zlib-1.2.8
todo: try ??
set NO_ZLIB=0
mpi
==========
todo:
--without-mpi
python
==========
=========
build
=========
boostrap
b2 link=shared runtime-link=shared threading=multi variant=debug toolset=msvc-12.0 define=CDP_BUILDING_BOOST define=BOOST_USER_CONFIG="boost/config/boost_user_config.hpp" --without-mpi
note: this had problems with python (inconsistent dll linkage). also could not find unique_lock, etc in 1.57
b2 link=static runtime-link=shared threading=multi variant=debug toolset=msvc-12.0 define=CDP_BUILDING_BOOST --without-mpi
-DBOOST_USER_CONFIG="<boost/config/user/multithread-gcc-config.hpp>"
--libdir ?
--buildid= ??
b2: http://www.boost.org/boost-build2/doc/html/bbv2/overview/builtins/features.html
//edit: boost/config/user.hpp
//#define BOOST_USER_CONFIG "boost/config/boost_user_config.hpp"
toolset=msvc-12.0
-Zm112
=========================
windows config
=========================
#define BOOST_COMPILER_CONFIG "boost/config/compiler/visualc.hpp"
#define BOOST_PLATFORM_CONFIG "boost/config/platform/win32.hpp"
// strongly recommended to define BOOST_FILESYSTEM_NO_DEPRECATED.
// place before including system headers. http://www.boost.org/doc/libs/1_56_0/libs/filesystem/doc/index.htm
// however, can't define this when building boost.
#if !defined(CDP_BUILDING_BOOST)
# define BOOST_FILESYSTEM_NO_DEPRECATED
#endif //!defined(CDP_BUILDING_BOOST)
// print lib name when linking
#define BOOST_LIB_DIAGNOSTIC
/*
#if !defined(BUILDING_BOOST)
# if !defined(BOOST_ALL_DYN_LINK)
# define BOOST_ALL_DYN_LINK
# endif //!defined(BOOST_ALL_DYN_LINK)
//# define BOOST_FILESYSTEM_NO_DEPRECATED
#endif //!defined(BUILDING_BOOST)
*/
// todo - not needed in 1.56 ?
// vs12 does not support this. see http://msdn.microsoft.com/en-us/library/vstudio/dn457344.aspx
// #define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS
// thread lib
//BOOST_THREAD_VERSION default is 2
#define BOOST_THREAD_VERSION 4
// BOOST_THREAD_PROVIDES_THREAD_EQ ??
// BOOST_THREAD_PROVIDES_CONDITION ??