OSGeo / libgeotiff

Official repository of the libgeotiff project
183 stars 70 forks source link

LIBGEOTIFF_DOTTED_VERSION #119

Closed nono303 closed 3 months ago

nono303 commented 3 months ago

Hi @rouault

Would it be possible to add LIBGEOTIFF_DOTTED_VERSION in geotiff.h? In my case, it's to facilitate the manifest resource creation and avoid my dirty & unsure regexp /#define LIBGEOTIFF_VERSION ([0-9])([0-9]{2})([0-9])/s

diff --git a/libgeotiff/geotiff.h b/libgeotiff/geotiff.h
index 75de593..9390b74 100644
--- a/libgeotiff/geotiff.h
+++ b/libgeotiff/geotiff.h
@@ -48,6 +48,7 @@

 /* Library version */
 #define LIBGEOTIFF_VERSION 1740
+#define LIBGEOTIFF_DOTTED_VERSION "1.74.0"

 #include "geo_config.h"
 #include "geokeys.h"

image Thx!