This project is intended for one to create an automated build environment to build the Boost libraries set to be used with VC++ in Visual Studio 2013.
I have created a set of make files to automate the build of the C++ Boost libraries using the `
nmake` build tool that comes with Visual Studio. I have put the make files and other related files in github. The Github URL:
I’ve also created a tutorial video and uploaded to youtube at:
For this version, I’ve tested with `
boost_1_59_0` and Visual Studio 2013 community version. In a nutshell, the end product will be the Boost libraries set that built as the following flavors:
- static debug
- static release
- staticX64 debug
- static X64 release
- share debug
- share release
- shareX64 debug
- shareX64 release
The Boost libraries can either build as static or shared and Visual C++ projects can be configured as 32 bit or 64 bit. Also, the projects can be configured as debug or release. Since the Visual C++ linker is employing auto-link, depending on the current project configuration, it will look for a particular library name patterns to link with. The link will fail if the library with the particular name cannot be found.
As an example, to link with the `date time`
static library in debug 32 mode, the linker will look for:
Whereas for the shared 64 release mode, it will look for:
The following softwares are needed to be installed properly prior to the build:
- Download and install github for windows. The URL:
- Download and install Visual Studio community version. The URL:
- Download and install the Microsoft Message Passing Interface (MS-MPI). The URL:
- Download and install python 2.7.x for Windows (I am using version 2.7.9). The URL:
- Download and save the `
boost_1_58_0` bundle (Make sure to download this ZIP file: “boost_1_59_0.zip” – The name is very important). The URL:
Setup gihub and Clone the Repository
Build the Boost libraries set using nmake tool
The C++ Boost is one of the powerful libraries set. It's a great tool set to those who program C++ seriously. To start learning C++ Boost, you can look at the available libraries at (http://www.boost.org/doc/libs/) and learn how to use them.
I hope this tip will spark the interest of learning the Boost library in you.