- without rtti
- without exception
TODO
- c++ compiler with support c++11 / c++14
- toolsbox
- cmake 3.0 or highter
- boost / unit test (not mandatory, to run unit test)
By default :
- unit test is builded (if there are boost unit test)
- in debug mode
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 |
DISABLE_UNITTEST | ON or OFF | OFF | Disable unittest |
run cmake :
slog $ mkdir build && cd build
build $ cmake ..
build :
build $ make
run unit test :
build $ make test
install :
build $ make install