Refactoring of the sim2doc configuration in CMake module for simulators

(closes OpenFLUID/openfluid#395)