Skip to content

drbenmorgan/BoostExamples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BoostExamples

Build Status

A (messy) sandpit for experimenting with the Boost C++ libraries.

Requirements

The main development takes place on Unix (Linux, Mac OS X), so to build BoostExamples you will need the following software

  • C++ compiler (GNU, Clang)
  • CMake build tool, version 2.8.0 and higher
  • CMake compatible build system (Make, Xcode, Eclipse)
  • Boost 1.48.0 or higher

How to Configure, Build and Test the Example Apps

Create a directory in which to build BoostExamples, change into this directory and run CMake, pointing it to the BoostExamples source tree (in other words, the directory in which this README resides):

$ mkdir BoostExamples-build
$ cd BoostExamples-build
$ cmake /path/to/BoostExamples

If CMake does not locate Boost correctly, you can use the Boost_DIR argument to direct it to the root of your Boost installation:

$ cmake -DBoost_DIR=/boost/root/dir /path/to/BoostExamples

If configuration completes without error, CMake will have generated a Makefile in the build directory. You can then build the BoostExamples applications by running

$ make -jN

where N is the number of parallel build jobs.

At this time, none of the targets are installed (they are examples after all!).

The above description assumes a Unix style system, where CMake will generate Unix Makefiles by default. If you prefer working with another build tool, CMake is capable of generating projects for a wide range of IDEs and command line tools. Please see the CMake Documentation on Generators for help on supported build tools and creating projects for these tools using CMake. Note that available generators are platform and CMake version dependent!

About

A (messy) sandpit for experimenting with the Boost C++ libraries

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors