mirror of
https://github.com/HDFGroup/hdf5.git
synced 2026-09-25 04:09:44 +03:00
This feature is required to be in H5public.h, but is protected by an HDF5 feature test macro that will soon be private. There is also no guarantee that the compiler used to build the software has the same support for __builtin_expect() that the application compiler has. This PR updates the feature test checks for __builtin_expect() Partial fix for #5819
The config directory
Intro
HDF5 can be configured using CMake.
Configuration information for the HDF5 library and tools is
specific to the repository folders. Each subdirectory of the project
has its own CMake build and test files. Basic library configuration will generally
be found in the root's CMakeLists.txt with support for macros and settings
in this config directory.
This directory contains a few important things:
- Support files for optional components (in
cmake) - Compiler and platform parameters (in
flags) - Warning files (in
*-warningsdirectories) - Toolchain files (in
toolchain) - Sanitizer files (in
sanitizer) - Example install scripts (in
examples) - Installation support files (in
install)
CMake is documented in the following in the root's release_docs folder files:
- INSTALL
- INSTALL_CMake.txt
- USING_HDF5_CMake.txt
- USING_HDF5_VS.txt
- INSTALL_Windows.txt
- USING_CMake_Examples.txt