2007-01-09 02:39:15 +00:00
|
|
|
|
|
|
|
// QGSCONFIG.H
|
|
|
|
|
|
|
|
#ifndef QGSCONFIG_H
|
|
|
|
#define QGSCONFIG_H
|
|
|
|
|
2008-01-29 17:36:45 +00:00
|
|
|
// Version must be specified according to
|
|
|
|
// <int>.<int>.<int>-<any text>.
|
|
|
|
// or else upgrading old project file will not work
|
|
|
|
// reliably.
|
2008-04-17 12:35:32 +00:00
|
|
|
#define VERSION "${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}-${RELEASE_NAME}"
|
|
|
|
|
|
|
|
//used in vim src/core/qgis.cpp
|
|
|
|
#define VERSION_INT ${CPACK_PACKAGE_VERSION_MAJOR}${CPACK_PACKAGE_VERSION_MINOR}${CPACK_PACKAGE_VERSION_PATCH}
|
|
|
|
//used in main.cpp and anywhere else where the release name is needed
|
|
|
|
#define RELEASE_NAME "${RELEASE_NAME}"
|
2007-01-09 02:39:15 +00:00
|
|
|
|
2007-11-18 17:41:45 +00:00
|
|
|
#define QGIS_PLUGIN_SUBDIR "${QGIS_PLUGIN_SUBDIR}"
|
|
|
|
#define QGIS_DATA_SUBDIR "${QGIS_DATA_SUBDIR}"
|
|
|
|
|
2007-01-09 02:39:15 +00:00
|
|
|
#cmakedefine HAVE_POSTGRESQL
|
|
|
|
|
|
|
|
#cmakedefine HAVE_PYTHON
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|