Usage:
mkdir build
cd build
cmake ..
make -j8
Download Boost:
sudo apt-get install libboost-all-dev
use boost::ext::di:
cd /usr/include/boost
wget https://raw.githubusercontent.com/boost-ext/di/cpp14/include/boost/di.hpp
Document:
https://boost-ext.github.io/di/user_guide.html