diff --git a/src/Magnum/GL/OpenGLTester.h b/src/Magnum/GL/OpenGLTester.h index 3445afee9..9382db46e 100644 --- a/src/Magnum/GL/OpenGLTester.h +++ b/src/Magnum/GL/OpenGLTester.h @@ -304,10 +304,12 @@ class OpenGLTester: public TestSuite::Tester { void gpuTimeBenchmarkBegin(); std::uint64_t gpuTimeBenchmarkEnd(); + #ifndef DOXYGEN_GENERATING_OUTPUT struct WindowlessApplication: Platform::WindowlessApplication { explicit WindowlessApplication(const Arguments& arguments): Platform::WindowlessApplication{arguments} {} int exec() override final { return 0; } } _windowlessApplication; + #endif TimeQuery _gpuTimeQuery{NoCreate}; }; diff --git a/src/Magnum/Platform/gl-info.cpp b/src/Magnum/Platform/gl-info.cpp index 08e4e19db..5b9197c30 100644 --- a/src/Magnum/Platform/gl-info.cpp +++ b/src/Magnum/Platform/gl-info.cpp @@ -200,6 +200,7 @@ Vendor extension support: for more information. */ +#ifndef DOXYGEN_GENERATING_OUTPUT class MagnumInfo: public Platform::WindowlessApplication { public: explicit MagnumInfo(const Arguments& arguments); @@ -873,6 +874,7 @@ MagnumInfo::MagnumInfo(const Arguments& arguments): Platform::WindowlessApplicat #undef _l #undef _h } +#endif } diff --git a/src/Magnum/Text/fontconverter.cpp b/src/Magnum/Text/fontconverter.cpp index 08ded5d9d..56c9a546a 100644 --- a/src/Magnum/Text/fontconverter.cpp +++ b/src/Magnum/Text/fontconverter.cpp @@ -125,6 +125,7 @@ The resulting font files can be then used as specified in the documentation of namespace Text { +#ifndef DOXYGEN_GENERATING_OUTPUT class FontConverter: public Platform::WindowlessApplication { public: explicit FontConverter(const Arguments& arguments); @@ -228,6 +229,7 @@ int FontConverter::exec() { return 0; } +#endif } diff --git a/src/Magnum/TextureTools/distancefieldconverter.cpp b/src/Magnum/TextureTools/distancefieldconverter.cpp index c7dbb1703..e8a4beb86 100644 --- a/src/Magnum/TextureTools/distancefieldconverter.cpp +++ b/src/Magnum/TextureTools/distancefieldconverter.cpp @@ -131,6 +131,7 @@ multiple of 2. namespace TextureTools { +#ifndef DOXYGEN_GENERATING_OUTPUT class DistanceFieldConverter: public Platform::WindowlessApplication { public: explicit DistanceFieldConverter(const Arguments& arguments); @@ -250,6 +251,7 @@ int DistanceFieldConverter::exec() { return 0; } +#endif }}