2014-02-14 08:06:37 +00:00
# Build Instructions using Microsoft Visual C++
2016-03-21 22:45:29 +00:00
These instructions were used to build LOOT using Microsoft Visual Studio 2015 Community, though they should apply to other versions of MSVC.
2014-04-05 23:33:37 +04:00
2014-02-14 08:06:37 +00:00
#### Boost
```
bootstrap.bat
2014-11-06 15:26:02 +00:00
b2 toolset=msvc threadapi=win32 link=static runtime-link=static variant=release address-model=32 --with-log --with-date_time --with-thread --with-filesystem --with-locale --with-regex --with-system --with-iostreams
2014-02-14 08:06:37 +00:00
```
2014-05-10 16:42:31 +01:00
`link` , `runtime-link` and `address-model` can all be modified if shared linking or 64 bit builds are desired. LOOT uses statically-linked Boost libraries by default: to change this, edit [CMakeLists.txt ](../CMakeLists.txt ).
2014-03-06 19:13:21 +00:00
#### LOOT
2014-02-14 08:06:37 +00:00
2014-03-06 19:13:21 +00:00
1. Set CMake up so that it builds the binaries in the `build` subdirectory of the LOOT folder.
2014-05-10 16:42:31 +01:00
2. Define any necessary parameters.
2016-03-21 22:45:29 +00:00
3. Configure CMake, then generate a build system for Visual Studio.
2014-05-10 16:42:31 +01:00
4. Open the generated solution file, and build it.