BCMBoostPackage

bcm_boost_package

This setups a boost package in cmake. It creates a library target that will be installed. The target will be exported and it will be in the boost:: namespace. In addition, the target will be setup to auto-link for the tests.

<package-name>

The name of the boost package.

VERSION <version>

Sets the version of the package.

VERSION_HEADER <header>

This will parse the version from a header file.

SOURCES <source-files>...

The source files to build the library.

DEPENDS <boost-dependencies>...

This specifies the internal boost dependecies, that is, dependencies on other boost libraries. The libraries should not be prefixed with boost_ nor boost::.

EXTERNAL_DEPENDS PACKAGE <dependencies>...

This specifies external find_package dependencies.