Skip to content

Commit 86d3caf

Browse files
committed
updated documentation to reflect the move to NuGet
1 parent f392f79 commit 86d3caf

File tree

2 files changed

+53
-34
lines changed

2 files changed

+53
-34
lines changed

build_boost.bat

Lines changed: 0 additions & 34 deletions
This file was deleted.

build_boost.txt

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# Building boost is nolonger needed to build debugview++
2+
# Use nuget package manager to get boost 1.63 v140 from Nuget, these libraries are binaries compatible with both vs2015 and vs2017
3+
4+
**********************************************************************
5+
** Visual Studio 2017 Developer Command Prompt v15.0.26228.4
6+
** Copyright (c) 2017 Microsoft Corporation
7+
**********************************************************************
8+
[vcvarsall.bat] Environment initialized for: 'x86'
9+
10+
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community>d:
11+
12+
D:\project\boost_1_63_0\boost_1_63_0>bootstrap.bat
13+
Building Boost.Build engine
14+
15+
16+
1) ./bootstrap.bat
17+
18+
2) look at project-config.jam, and set the path to visual studio:
19+
20+
import option ;
21+
22+
using msvc : 14.0 : "c:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.24728\bin\HostX64\x64\cl.exe";
23+
24+
option.set keep-going : false ;
25+
26+
3) Run b2 from the visual studio command prompt
27+
28+
32bit: b2 toolset=msvc-14.0 address-model=32 --build-type=complete stage install
29+
64bit: b2 toolset=msvc-14.0 address-model=64 --build-type=complete stage install
30+
31+
rem this output its results into c:\boost
32+
rem however, static libs are found in a boost-subdirectory and must be copied manually
33+
34+
35+
36+
notes:
37+
"C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\setenv.cmd" /Release /x64
38+
39+
40+
- boost 1.63: see the install.sh in the boost archive
41+
- install visual studio 2015
42+
- open developer console (cmd.exe + run C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\vsvars32.bat)
43+
- unzip boost_1_63_0.zip to c:\downloads\boost_1_63_0
44+
- cd c:\downloads\boost_1_63_0
45+
- run c:\downloads\boost_1_63_0\bootstrap.bat (~1 minute)
46+
- b2.exe --build-type=complete stage install (~45 minutes)
47+
- find the results in c:\boost
48+
- copy C:\boost\include\boost-1_63\boost -> DebugViewpp\Libraries\boost\boost
49+
- copy C:\Boost\lib -> DebugViewPP\Libraries\Boost\lib\win32
50+
- for some reason I have to copy boost_1_63_0\stage\lib\*.* to \Libraries\boost\lib\win32\*.* to get the vc???-mt-sgd libraries.
51+
- "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\setenv.cmd" /Release /x64
52+
- b2.exe address-model=64 --build-type=complete stage install
53+
- copy C:\Boost\lib -> DebugViewPP\Libraries\Boost\lib\x64

0 commit comments

Comments
 (0)