mkdir build
cd build
cmake -DWITH_DOC=ON ..
make doc