-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathusing_filesystem.mpb
60 lines (49 loc) · 1.28 KB
/
using_filesystem.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
50
51
52
53
54
55
56
57
58
59
60
project : using_boost {
expand(BOOST_ROOT_LIB) {
$BOOST_ROOT_LIB
$(BOOST_ROOT)/stage/lib
}
// b2 builds libboost_system with the following example formats:
// libboost_python-vc141-mt-gd-x64-1_67.lib (Debug)
// libboost_python-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(PYTHON_ROOT) {
$PYTHON_ROOT
/usr
}
expand(PYTHON_VERSION) {
$PYTHON_VERSION
2.7
}
expand(BOOST_PYTHON_VERSION) {
$BOOST_PYTHON_VERSION
""
}
expand(BOOST_FILESYSTEM_DEBUG) {
$BOOST_FILESYSTEM_DEBUG
$(BOOST_STATIC_LIB_PREFIX)boost_filesystem-$(BOOST_TOOLSET)-mt-gd-$(BOOST_ARCH)-$(BOOST_VERSION)
}
expand(BOOST_FILESYSTEM_RELEASE) {
$BOOST_FILESYSTEM_RELEASE
$(BOOST_STATIC_LIB_PREFIX)boost_filesystem-$(BOOST_TOOLSET)-mt-$(BOOST_ARCH)-$(BOOST_VERSION)
}
specific(prop:windows) {
Debug::lit_libs += $(BOOST_FILESYSTEM_DEBUG)
Release::lit_libs += $(BOOST_FILESYSTEM_RELEASE)
// end if windows build
} else {
lit_libs += $(BOOST_STATIC_LIB_PREFIX)boost_filesystem$(BOOST_CFG)
}
}