Skip to content
  • Su Laus's avatar
    Update CMake and autoconf scripts to consistently update LibTIFF version... · 432a3b64
    Su Laus authored and Even Rouault's avatar Even Rouault committed
    Update CMake and autoconf scripts to consistently update LibTIFF version defines and references in various files when version definition in configure.ac has been changed.
    
    - Move in tiffvers.h from .\libtiff source directory to .\libtiff  build directory.
    - Remove unused version information from tif_config.h
    - With every CMake build the version defines (e.g. 4.5.1) within tiffvers.h are consistently updated from configure.ac. The version release-date is taken from file RELEASE-DATE.
    - The files VERSION and RELEASE-DATE are only updated with a special CMake target build: cmake --build . --target tiff_release.
    
    - For autotools, version information is updated from configure.ac with ./autogen.sh. LIBTIFF_RELEASE_DATE is taken form file RELEASE-DATE.
    - ./configure generates tiffvers.h with the cached version information and LIBTIFF_RELEASE_DATE.
    - "make release" updates tiffvers.h and VERSION file with cached version info and RELEASE-DATE file and tiffves.h with the current date.
    432a3b64