documentation: Include config.h and cleanup macro definitions by stotko · Pull Request #47 · stotko/stdgpu (original) (raw)
Doxygen also includes macro definitions in the generated documentation. Since this step incorporates the macro definition by default, users might wonder about the actual values that are exposed to them. However, since most of these values are not meaningful at all without proper platform and backend context, hide them and just explain the formal meaning instead.
Furthermore, doxygen recognizes #cmakedefine but not #cmakedefine01unfortunately. Workaround this by manually defining the macros if doxygen has been detected.