
// QGSCONFIG.H

#ifndef QGSCONFIG_H
#define QGSCONFIG_H

// Version must be specified according to
// <int>.<int>.<int>-<any text>.
// or else upgrading old project file will not work
// reliably.
// TODO QGIS 5: remove in favor of _QGIS_VERSION
#define VERSION "4.0.1-Norrköping"
#define _QGIS_VERSION "4.0.1-Norrköping"

//used in vim src/core/qgis.cpp
//The way below should work but it resolves to a number like 0110 which the compiler treats as octal I think
//because debuggin it out shows the decimal number 72 which results in incorrect version status.
//As a short term fix I (Tim) am defining the version in top level cmake. It would be good to
//reinstate this more generic approach below at some point though
//#define VERSION_INT 401
// TODO QGIS 5: Remove in favor of _QGIS_VERSION_INT
#define VERSION_INT 40001
#define _QGIS_VERSION_INT 40001
#define ABISYM(x) x ## 40001
//used in main.cpp and anywhere else where the release name is needed
#define RELEASE_NAME "Norrköping"

#define QGIS_PLUGIN_SUBDIR "lib/qgis/plugins"
#define QGIS_DATA_SUBDIR "share/qgis"
#define QGIS_LIBEXEC_SUBDIR "lib/qgis"
#define QGIS_LIB_SUBDIR "lib"
#define QGIS_QML_SUBDIR "qml"

#define QGIS_SERVER_MODULE_SUBDIR "lib/qgis/server"

#if !defined(QSCINTILLA_VERSION_STR)
#define QSCINTILLA_VERSION_STR "2.14.1"
#endif

#define PYTHON_VERSION "3.13.13"
#define PYTHON_VERSION_MAJOR "3"
#define PYTHON_VERSION_MINOR "13"
#define PYTHON_VERSION_PATCH "13"

#define PROJ_VERSION_MAJOR 9
#define PROJ_VERSION_MINOR 8
#define PROJ_VERSION_PATCH 1

/* #undef QGIS_MAC_BUNDLE */

/* #undef USING_NMAKE */

#define USING_NINJA

#define HAVE_GUI

#define HAVE_SPATIALITE

#define HAVE_POSTGRESQL

/* #undef HAVE_ORACLE */

/* #undef HAVE_HANA */

/* #undef SERVER_SKIP_ECW */

#define HAVE_SERVER_PYTHON_PLUGINS

#define HAVE_OAUTH2_PLUGIN

/* #undef HAVE_OPENCL */
/* #undef OPENCL_USE_NEW_HEADER */

/* #undef ENABLE_MODELTEST */

#define HAVE_3D

#define HAVE_GSL

#define HAVE_GEOREFERENCER

/* #undef USE_THREAD_LOCAL */

/* #undef QGISDEBUG */

/* #undef AGGRESSIVE_SAFE_MODE */

#define HAVE_QUICK

#define HAVE_QTSERIALPORT

/* #undef HAVE_QTGAMEPAD */

#define HAVE_QTPRINTER

/* #undef HAVE_STATIC_PROVIDERS */

#define HAVE_EPT

#define HAVE_COPC

#define HAVE_PDAL_QGIS
#define PDAL_VERSION "2.10.1"
#define PDAL_VERSION_MAJOR_INT 2
#define PDAL_VERSION_MINOR_INT 10
#define PDAL_VERSION_MAJOR "2"
#define PDAL_VERSION_MINOR "10"
#define PDAL_VERSION_MICRO "1"

#define HAVE_DRACO

#define ENABLE_TESTS

#define HAVE_PDF4QT

#define HAVE_CRASH_HANDLER

#define HAVE_WEBENGINE

#define HAVE_EXIV2

#define HAVE_AUTH

#define SFCGAL_VERSION_MAJOR_INT 2
#define SFCGAL_VERSION_MINOR_INT 2
#define SFCGAL_VERSION_PATCH_INT 0

#endif
