Readme.md
1Boost libraries - trimmed down for Citra
2========================================
3
4This is a subset of Boost v1.71.0 generated using the bcp tool. To get a list of boost modules guaranteed to exist, check the build script.
5
6Updating this repo (on Windows)
7===============================
8
9To update the Boost version (or to add a new library) follow these steps:
10
11 - Download Boost and extract the package, then launch Powershell and `cd` to the `boost_1_xx_0` directory.
12 - Build the `bcp` tool:
13 ```
14 .\boostrap.bat
15 .\b2 tools\bcp
16 ```
17
18 - Store the boost directory in a variable for later use: `$boost_dir = $pwd`.
19 - Add bcp to your path: `$env:Path += ";$boost_dir\bin.v2\tools\bcp\msvc-14.2\release\link-static\threading-multi"` (The correct output path should be printed by b2 during the build.)
20 - `cd` to this repo's directory (`...\externals\boost\`)
21 - Remove the existing boost from the repo: `rm -r boost` (This is only necessary if doing a Boost version upgrade, in case they removed any files in the new version.)
22 - Run `.\build.cmd $boost_dir` to build a new trimmed down distro.
23 - Add/remove all files in git and commit.
24