Align CMake compiler wrappers with old Autotools versions#5649
Align CMake compiler wrappers with old Autotools versions#5649lrknox merged 1 commit intoHDFGroup:developfrom
Conversation
|
Re: #4582 -
|
This comment was marked as outdated.
This comment was marked as outdated.
eac8fbe to
9387696
Compare
9387696 to
c3eaee1
Compare
Implemented missing --help/-h, -c, -echo and -shlib/-noshlib options Added new -nohl option to avoid building and linking against high-level HDF5 libraries if desired Implemented adding of HDF5 installation library directory to rpath of resulting executable/library and added new -norpath option to avoid this behavior if desired Added parsing of HDF5_USE_SHLIB environment variable to determine whether to link against shared or static HDF5 libraries Added parsing of HDF5_PKG_CONFIG_ARGS environment variable to separate pkg-config-specific options from compiler-specific options and prevent conflicts Fixed several issues in pkg-config files generated by CMake
|
|
||
| # If linking against shared HDF5 libraries, add the | ||
| # HDF5 library directory to the rpath of the executable | ||
| # if not requested not to. |
There was a problem hiding this comment.
Nitpick: if not requested not to -> unless requested not to is a more clear phrasing
) Implemented missing --help/-h, -c, -echo and -shlib/-noshlib options Added new -nohl option to avoid building and linking against high-level HDF5 libraries if desired Implemented adding of HDF5 installation library directory to rpath of resulting executable/library and added new -norpath option to avoid this behavior if desired Added parsing of HDF5_USE_SHLIB environment variable to determine whether to link against shared or static HDF5 libraries Added parsing of HDF5_PKG_CONFIG_ARGS environment variable to separate pkg-config-specific options from compiler-specific options and prevent conflicts
Implemented missing --help/-h, -c, -echo and -shlib/-noshlib options
Added new -nohl option to avoid building and linking against high-level HDF5 libraries if desired
Implemented adding of HDF5 installation library directory to rpath of resulting executable/library and added new -norpath option to avoid this behavior if desired
Added parsing of HDF5_USE_SHLIB environment variable to determine whether to link against shared or static HDF5 libraries
Added parsing of HDF5_PKG_CONFIG_ARGS environment variable to separate pkg-config-specific options from compiler-specific options and prevent conflicts
Fixed several issues in pkg-config files generated by CMake
Fixes #4582
Important
Aligns CMake compiler wrappers with Autotools by adding missing options, rpath handling, and fixing pkg-config issues.
--help/-h,-c,-echo,-shlib/-noshliboptions in CMake compiler wrappers.-norpathoption to disable.HDF5_USE_SHLIBto decide between shared/static libraries.HDF5_PKG_CONFIG_ARGSto separate pkg-config and compiler options.mkdirtomkdir -pintest-pc.shscripts across multiple directories.This description was created by
for 9387696. You can customize this summary. It will automatically update as commits are pushed.