This section contains the instructions for building and running the test cases
and documentatation examples that are packaged with
Some test cases that use language features that do not work on some supported
compilers. These conflicts are "resolved" by replacing
Even though the
Boost.CallableTraits headers do not rely
on external dependencies, you'll need to install CMake
version 3.5 or higher to run the full test suite. The build instructions assume
that both CMake and Git are available from your environment PATH. Boost.Build
is also supported.
Open a shell and enter the following commands:
git clone http://github.com/boostorg/callable_traits cd callable_traits mkdir build cd build cmake .. -DCMAKE_CXX_COMPILER=/path/to/compiler make check
Cygwin and MSYS users should refer to the Linux section (you know who you are).
cmd.exe and enter the following commands:
git clone http://github.com/boostorg/callable_traits cd callable_traits mkdir build cd build cmake .. path\to\msbuild.exe check.vcxproj /t:build /p:Configuration=Debug /p:Platform=Win32 /v:n /nologo
To build with Clang/C2 instead of MSVC, append
(or similar supported flag) to the CMake arguments. This will only work if
you have Clang/C2 installed.