adding a doc command to the cmake build system