-
Notifications
You must be signed in to change notification settings - Fork 0
/
using_boost.mpb
49 lines (40 loc) · 1.18 KB
/
using_boost.mpb
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
project {
expand(BOOST_ROOT_LIB) {
$BOOST_ROOT_LIB
$(BOOST_ROOT)/stage/lib
}
// b2 builds libboost_system with the following example formats:
// libboost_system-vc141-mt-gd-x64-1_67.lib (Debug)
// libboost_system-vc141-mt-x64-1_67.lib (Release)
// we want to allow Windows devs to customize their linked boost libs
expand(BOOST_TOOLSET) {
$BOOST_TOOLSET
vc141
}
expand(BOOST_ARCH) {
$BOOST_ARCH
x64
}
expand(BOOST_VERSION) {
$BOOST_VERSION
1_67
}
expand(BOOST_SYSTEM_DEBUG) {
$BOOST_SYSTEM_DEBUG
$(BOOST_STATIC_LIB_PREFIX)boost_system-$(BOOST_TOOLSET)-mt-gd-$(BOOST_ARCH)-$(BOOST_VERSION)
}
expand(BOOST_SYSTEM_RELEASE) {
$BOOST_SYSTEM_RELEASE
$(BOOST_STATIC_LIB_PREFIX)boost_system-$(BOOST_TOOLSET)-mt-$(BOOST_ARCH)-$(BOOST_VERSION)
}
specific(prop:windows) {
libpaths += $(BOOST_ROOT_LIB)
includes += $(BOOST_ROOT)
macros += _WINSOCK_DEPRECATED_NO_WARNINGS BOOST_ALL_NO_LIB
Debug::lit_libs += $(BOOST_SYSTEM_DEBUG)
Release::lit_libs += $(BOOST_SYSTEM_RELEASE)
// end if windows build
} else {
lit_libs += $(BOOST_STATIC_LIB_PREFIX)boost_system$(BOOST_CFG)
}
}