mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-23 20:50:59 -05:00
512e35bea6
* Updated GDAL version to 2.4.1 * Add vtune performance commands * Add Nvtools performance commands * Add warning if GDAL dataset could not be loaded
33 lines
1.1 KiB
C++
33 lines
1.1 KiB
C++
/* $Id$ */
|
|
|
|
/* -------------------------------------------------------------------- */
|
|
/* GDAL Version Information. */
|
|
/* -------------------------------------------------------------------- */
|
|
|
|
#ifndef GDAL_VERSION_MAJOR
|
|
# define GDAL_VERSION_MAJOR 2
|
|
# define GDAL_VERSION_MINOR 4
|
|
# define GDAL_VERSION_REV 1
|
|
# define GDAL_VERSION_BUILD 0
|
|
#endif
|
|
|
|
/* GDAL_COMPUTE_VERSION macro introduced in GDAL 1.10 */
|
|
/* Must be used ONLY to compare with version numbers for GDAL >= 1.10 */
|
|
#ifndef GDAL_COMPUTE_VERSION
|
|
#define GDAL_COMPUTE_VERSION(maj,min,rev) ((maj)*1000000+(min)*10000+(rev)*100)
|
|
#endif
|
|
|
|
/* Note: the formula to compute GDAL_VERSION_NUM has changed in GDAL 1.10 */
|
|
#ifndef GDAL_VERSION_NUM
|
|
# define GDAL_VERSION_NUM (GDAL_COMPUTE_VERSION(GDAL_VERSION_MAJOR,GDAL_VERSION_MINOR,GDAL_VERSION_REV)+GDAL_VERSION_BUILD)
|
|
#endif
|
|
|
|
#if !defined(DO_NOT_DEFINE_GDAL_RELEASE_DATE_AND_GDAL_RELEASE_NAME)
|
|
#ifndef GDAL_RELEASE_DATE
|
|
# define GDAL_RELEASE_DATE 20190315
|
|
#endif
|
|
#ifndef GDAL_RELEASE_NAME
|
|
# define GDAL_RELEASE_NAME "2.4.1"
|
|
#endif
|
|
#endif
|