src/version.h

Sat, 21 Feb 2015 18:50:11 +0200

author
Teemu Piippo <crimsondusk64@gmail.com>
date
Sat, 21 Feb 2015 18:50:11 +0200
changeset 926
e1ae2dbcae8e
parent 898
4dea33733251
child 927
409b82a4765e
child 948
3a91828475fd
permissions
-rw-r--r--

- relaced updaterevision.c with a python script
- add 'release' and 'debug' to .hgignore

/*
 *  LDForge: LDraw parts authoring CAD
 *  Copyright (C) 2013, 2014 Teemu Piippo
 *
 *  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 3 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, see <http://www.gnu.org/licenses/>.
 */

#pragma once

//
// Application name
//
#define APPNAME			"LDForge"
#define UNIXNAME		"ldforge"

//
// Version number
//
#define VERSION_MAJOR	0
#define VERSION_MINOR	4
#define VERSION_PATCH	0

//
// Build ID, this is BUILD_RELEASE for releases
//
#define BUILD_ID		BUILD_INTERNAL
#define BUILD_INTERNAL	0
#define BUILD_RELEASE	1

#ifdef DEBUG
# undef RELEASE
#endif // DEBUG

#ifdef RELEASE
# undef DEBUG
#endif // RELEASE

const char* VersionString();
const char* FullVersionString();
const char* CommitTimeString();

mercurial