hdf5 icon indicating copy to clipboard operation
hdf5 copied to clipboard

Remove the _debug prefixes for CMake debug builds (linux)

Open brtnfld opened this issue 1 year ago • 1 comments

When CMake builds in debug mode, it creates library names appended with _debug; while this is common for Windows, it is not a common thing to do for Linux.

I propose leaving the same names for a release and debug builds for Linux/macOS.

brtnfld avatar Jul 12 '24 17:07 brtnfld

CMake allows one to change the postfix name, including setting it to nothing: set(CMAKE_DEBUG_POSTFIX) or -DCMAKE_DEBUG_POSTFIX=""

HDF5 uses that var setting for the names.

byrnHDF avatar Jul 15 '24 18:07 byrnHDF