added include/win32/version.h for the non-automake win32 builds will have a common place to get the version number.

also commented out the section of include/win32/?c/config.h that defined the versions and replaced with an include statement
This commit is contained in:
Thad Ward 2000-05-23 06:10:22 +00:00
parent 8ff75f94dc
commit 55d2328c77
4 changed files with 50 additions and 1 deletions

View file

@ -62,10 +62,13 @@
#define X_DISPLAY_MISSING
/* Version string */
/* these are included by version.h
#define QW_VERSION "2.40"
#define VERSION "0.1.99pre0"
#define PROGRAM "QuakeForge"
#define PACKAGE "quakeforge"
*/
#include "version.h"
/* Define if you want to use QF-style defaults instead of Id-style */
#undef NEWSTYLE

View file

@ -65,10 +65,13 @@
#define X_DISPLAY_MISSING
/* Version string */
/* these are included from version.h
#define QW_VERSION "2.40"
#define VERSION "0.2.0"
#define PROGRAM "QuakeForge"
#define PACKAGE "quakeforge"
*/
#include "version.h"
/* Define if you want to use QF-style defaults instead of Id-style */
#undef NEWSTYLE

42
include/win32/version.h Normal file
View file

@ -0,0 +1,42 @@
/*
version.h
version numbers for the win32 builds that don't use autoconf
Copyright (C) 2000 contributors of the QuakeForge project
Please see the file "AUTHORS" for a list of contributors
Author: Thad Ward
Date: 22 May 2000
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to:
Free Software Foundation, Inc.
59 Temple Place - Suite 330
Boston, MA 02111-1307, USA
$Id$
*/
#ifndef _VERSION_H
#define _VERSION_H
/* Version string */
#define QW_VERSION "2.40"
#define VERSION "0.1.99pre2"
#define PROGRAM "QuakeForge"
#define PACKAGE "quakeforge"
#endif /* _VERSION_H_ */