The GenerateExportHeader should prevent clang-tidy warning

/* NOLINTNEXTLINE(readability-avoid-unconditional-preprocessor-if) */
#if 0 /* DEFINE_NO_DEPRECATED */
#  ifndef ALGO_NO_DEPRECATED
#    define ALGO_NO_DEPRECATED
#  endif
#endif
``
1 Like

Yes, Iā€™d welcome a merge request doing that, thanks.

1 Like

done, see https://gitlab.kitware.com/cmake/cmake/-/merge_requests/9418