mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-24 00:47:57 -05:00
Made some small changes to whats new too. git-svn-id: http://svn.osgeo.org/qgis/trunk@8361 c8812cc2-4d05-0410-92ff-de0c093fc19c
29 lines
812 B
C
29 lines
812 B
C
|
|
// 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.
|
|
#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}"
|
|
|
|
#define PREFIX "${CMAKE_INSTALL_PREFIX}"
|
|
|
|
#define QGIS_PLUGIN_SUBDIR "${QGIS_PLUGIN_SUBDIR}"
|
|
#define QGIS_DATA_SUBDIR "${QGIS_DATA_SUBDIR}"
|
|
|
|
#cmakedefine HAVE_POSTGRESQL
|
|
|
|
#cmakedefine HAVE_PYTHON
|
|
|
|
#endif
|
|
|