Skip to content

[2.1.0] Suppress some CMake dev warnings for lower message log levels (#6228)#6234

Merged
lrknox merged 1 commit intoHDFGroup:hdf5_2_1_0from
jhendersonHDF:cmake_dev_warnings_2_1_0
Feb 24, 2026
Merged

[2.1.0] Suppress some CMake dev warnings for lower message log levels (#6228)#6234
lrknox merged 1 commit intoHDFGroup:hdf5_2_1_0from
jhendersonHDF:cmake_dev_warnings_2_1_0

Conversation

@jhendersonHDF
Copy link
Collaborator

@jhendersonHDF jhendersonHDF commented Feb 23, 2026

Important

Suppresses developer warnings in config/HDF5Pkgconfig.cmake unless CMake log level is VERBOSE or DEBUG.

  • Behavior:
    • Suppresses developer warnings in extract_lib_pkgconfig_info in config/HDF5Pkgconfig.cmake unless CMake log level is VERBOSE or DEBUG.
    • Warnings about generator expressions and multi-config generators are now conditional on show_dev_warnings.
  • Implementation:
    • Introduces show_dev_warnings flag based on CMake log level.
    • Applies conditional checks for message(AUTHOR_WARNING) in 8 places, including generator expressions and library name issues.

This description was created by Ellipsis for d102e94. You can customize this summary. It will automatically update as commits are pushed.

@lrknox lrknox merged commit c8c4e06 into HDFGroup:hdf5_2_1_0 Feb 24, 2026
123 checks passed
@github-project-automation github-project-automation bot moved this from To be triaged to Done in HDF5 - TRIAGE & TRACK Feb 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants