It is c++ toolsbox library :
- only header
- no depend
- without rtti
- without exception
- c++ compiler with support c++11 / c++14
- cmake 3.0 or highter
- boost / unit test (not mandatory, to run unit test)
- boost / other headers lib (not mandatory, to run perf application)
By default :
- unit test is builded (if there are boost unit test)
- in debug mode
- perf tools application are not builded
Common cmake option (to add on common line) :
Option | Value | Default | Description |
---|---|---|---|
CMAKE_BUILD_TYPE | Debug or Release | Debug | Select build type |
CMAKE_INSTALL_PREFIX | path | /usr/local | Prefix installation |
ENABLE_PERF_APPL_BUILD | ON or OFF | OFF | Build Perf Tools |
DISABLE_UNITTEST | ON or OFF | OFF | Disable unittest |
run cmake :
toolsbox $ mkdir build && cd build
build $ cmake ..
build :
build $ make
run unit test :
build $ make test
install :
build $ make install