centralize version info in one file, include it from all makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -69,7 +69,8 @@ OSTYPE=msys
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
# If building DLL, the version
|
# If building DLL, the version
|
||||||
WXVERSION=250
|
include version.mak
|
||||||
|
WXVERSION=$(wxMAJOR_VERSION)$(wxMINOR_VERSION)$(wxRELEASE_NUMBER_IFUNSTABLE)
|
||||||
|
|
||||||
ifndef UNICODE
|
ifndef UNICODE
|
||||||
UNICODE=0
|
UNICODE=0
|
||||||
|
@@ -8,12 +8,14 @@
|
|||||||
#
|
#
|
||||||
!include <ntwin32.mak>
|
!include <ntwin32.mak>
|
||||||
|
|
||||||
|
# read version numbers
|
||||||
|
!include "version.mak"
|
||||||
|
WXVERSION=$(wxMAJOR_VERSION)$(wxMINOR_VERSION)$(wxRELEASE_NUMBER_IFUNSTABLE)
|
||||||
|
|
||||||
!if "$(RM)" == ""
|
!if "$(RM)" == ""
|
||||||
RM= erase
|
RM= erase
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
WXVERSION=25
|
|
||||||
|
|
||||||
# WIN95 means "all systems newer than Win95", i.e. Win9x and NT 4+
|
# WIN95 means "all systems newer than Win95", i.e. Win9x and NT 4+
|
||||||
WIN95=1
|
WIN95=1
|
||||||
|
|
||||||
|
24
src/version.mak
Normal file
24
src/version.mak
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
##############################################################################
|
||||||
|
# Name: src/version.mak
|
||||||
|
# Purpose: file defining wxWindows version used by all other makefiles
|
||||||
|
# Author: Vadim Zeitlin
|
||||||
|
# Modified by:
|
||||||
|
# Created: 25.02.03
|
||||||
|
# RCS-ID: $Id$
|
||||||
|
# Copyright: (c) 2003 Vadim Zeitlin
|
||||||
|
# Licence: wxWindows license
|
||||||
|
##############################################################################
|
||||||
|
|
||||||
|
wxMAJOR_VERSION=2
|
||||||
|
wxMINOR_VERSION=5
|
||||||
|
wxRELEASE_NUMBER=0
|
||||||
|
|
||||||
|
# release number if used in the DLL file names only for the unstable branch as
|
||||||
|
# for the stable branches the micro releases are supposed to be backwards
|
||||||
|
# compatible and so should have the same name or otherwise it would be
|
||||||
|
# impossible to use them without recompiling the applications (which is the
|
||||||
|
# whole goal of keeping them backwards compatible in the first place)
|
||||||
|
#
|
||||||
|
# as 2.5 is an unstable branch, wxRELEASE_NUMBER_IFUNSTABLE should be set
|
||||||
|
# (but when we go to 2.6, it should become empty)
|
||||||
|
wxRELEASE_NUMBER_IFUNSTABLE=$(wxRELEASE_NUMBER)
|
Reference in New Issue
Block a user