From 1b4e6a00233de24b66b3cd8626bfc01ed80f8f32 Mon Sep 17 00:00:00 2001 From: CV-GPhL Date: Thu, 14 Mar 2024 16:40:32 +0100 Subject: [PATCH] Update H5ToXds.cpp to write compilation time if available --- src/dectris/neggia/plugin/H5ToXds.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/dectris/neggia/plugin/H5ToXds.cpp b/src/dectris/neggia/plugin/H5ToXds.cpp index dfeb6cf..aa9b81c 100644 --- a/src/dectris/neggia/plugin/H5ToXds.cpp +++ b/src/dectris/neggia/plugin/H5ToXds.cpp @@ -444,6 +444,11 @@ void plugin_open(const char* filename, int info_array[1024], int* error_flag) { *error_flag = 0; printVersionInfo(); std::unique_ptr dataCache(new H5DataCache); + +#ifdef GPHL_COMPILE_DATE + std::cout << std::endl << " XDS HDF5/Neggia plugin " << info_array[1] << "." << info_array[2] << "." << info_array[3] << " (Dectris, 2017-2021; GPhL, 2019-2021 - built " << GPHL_COMPILE_DATE << ")" << std::endl; +#endif + try { dataCache->filename = filename; dataCache->h5File = H5File(filename);