Document CMake options in a central location#6294
Conversation
| -G Ninja \ | ||
| --log-level=VERBOSE \ | ||
| -DCMAKE_BUILD_TYPE=Release \ | ||
| -DHDF5_ONLY_SHARED_LIBS:BOOL=ON \ |
There was a problem hiding this comment.
HDF5_ONLY_SHARED_LIBS is an option mostly used internally and I'd like to avoid continuing to promote setting it since it confuses things and has odd interactions with cmake GUI programs.
|
|
||
| option (HDF5_ENABLE_TRACE "Enable API tracing capability" OFF) | ||
| mark_as_advanced (HDF5_ENABLE_TRACE) | ||
| if (HDF5_ENABLE_TRACE) |
There was a problem hiding this comment.
This option no longer does anything.
| option (HDF5_ENABLE_EMBEDDED_LIBINFO "Embed library info into executables" ON) | ||
| option (HDF5_ENABLE_EMBEDDED_LIBINFO "Embed library info into executables" OFF) | ||
| mark_as_advanced (HDF5_ENABLE_EMBEDDED_LIBINFO) | ||
| if (HDF5_ENABLE_EMBEDDED_LIBINFO) |
There was a problem hiding this comment.
This option doesn't do anything and it's not clear that it ever did.
There was a problem hiding this comment.
While the CMake options were mostly documented in INSTALL_CMAKE.md, several were missing or were otherwise poorly documented. This documents most of them in a single place, with the main exception being that the filter options are discussed more in INSTALL_Filters.md since there is some complication/confusion around the interactions of the different options.
|
I'm also wondering if these options should be moved to advanced? HDF5_ENABLE_DEPRECATED_SYMBOLS niche features developer/CI |
I think a reasonable case could be made for all of them except maybe |
Were you planning to do that in this PR? |
I'll do this in a separate PR since it's mostly unrelated |
05a0060 to
7e9c85a
Compare
No description provided.