Community Input - HDF5 CMake Overhaul

For HDF5 1.14.5, we’re planning on overhauling our CMake build code, to bring it more in line with modern CMake conventions.

We’re still putting together our assessment/plan, but we’d like to:

  • Consolidate and reorganize the existing CMake code, to make things easier to understand and find
  • Move to “modern CMake”
    • Convert macros to functions
    • Add additional functions to avoid code duplication
  • Ensure parity with the Autotools
  • Add verification/testing to CI to ensure builds are correct
  • Add documentation

If you have any suggestions or complaints, or are an expert in modern CMake and can offer advice, please add your comments to this post.


1 Like