Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 1.81 KB

BUILD.md

File metadata and controls

39 lines (25 loc) · 1.81 KB

Build Instructions using Microsoft Visual C++

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.

Boost

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

wxWidgets

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

Libgit2 uses CMake to generate a MSVC solution file.

  1. Set CMake up so that it builds the binaries in the build subdirectory of the libgit2 folder.
  2. Configure CMake.
  3. Undefine BUILD_SHARED_LIBS.
  4. Generate a build system for Visual Studio 12.
  5. Open the generated solution file, and build it.

BOSS

Build the solution provided by BOSS.