These instructions were used to build BOSS using Microsoft Visual Studio Express 2013 for Desktop, though they should also apply to other versions of MSVC.
BOSS requires the following libraries (version numbers used in latest development revision given):
BOSS expects all libraries' folders to be present in a lib
subdirectory in the root of the repository, or otherwise installed such that the compiler and linker used can find them without suppling additional paths. All paths below are relative to the folder(s) containing the libraries and BOSS.
Alphanum and UTF8-CPP do not require any additional setup. The rest of the libraries must be built separately. Instructions for building them and BOSS itself using MSVC are given below.
bootstrap.bat
b2 toolset=msvc-12.0 threadapi=win32 link=static runtime-link=static variant=release address-model=32 --with-program_options --with-filesystem --with-locale --with-regex --with-system --stagedir=stage-32
Just build the solution provided by wxWidgets. You may need to make sure that the configuration properties for the Visual Studio projects are set to use the static multithreaded runtime library (C/C++->Code Generation).
Libgit2 uses CMake to generate a MSVC solution file.
- Set CMake up so that it builds the binaries in the
build
subdirectory of the libgit2 folder. - Configure CMake.
- Undefine
BUILD_SHARED_LIBS
. - Generate a build system for Visual Studio 12.
- Open the generated solution file, and build it.
Build the solution provided by BOSS.