Skip to content

Help: Version directives for modules and other version fixes

Nikita Nemkin requested to merge nnemkin/cmake:versionadded into master

Five changes:

  • Two bug fixes.
  • One CSS styling fix.
  • One module formatting upgrade for FindBoost and FindCUDA (couldn't insert version notes otherwise).
  • Version notes for all modules.

The coverage is almost 100%, there were some minor issues:

  • A few modules had history that didn't translate well into version notes (like FindJNI) or huge changes that didn't warrant detailed versioning (like FindMPI).
  • Compiler and platform support improvements were documented on a case-by-case basis to avoid too much noise.
  • One aspect that I haven't documented is version compatibility. Many modules hard-code version lists. Sometimes updated CMake is required for compatibility (FindBoost is like this, I think), and sometimes it only affects default search paths and can be worked around. I'm not sure what's the best approach here.

Issue: #19715
Fixes: #21522 (closed)

Merge request reports