src/version.h

Fri, 16 May 2014 21:59:03 +0300

author
Santeri Piippo <crimsondusk64@gmail.com>
date
Fri, 16 May 2014 21:59:03 +0300
changeset 771
0f04e34bec54
parent 745
ab8adddc0f5c
child 774
8bce7acd100c
permissions
-rw-r--r--

- use a faster ID choosing setup, this should work so long as nobody goes to create 17 million objects

/*
 *  LDForge: LDraw parts authoring CAD
 *  Copyright (C) 2013, 2014 Santeri 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/>.
 */

//! \file version.h
//! Contains macros related to application name and version.

#pragma once

//! The application name.
#define APPNAME			"LDForge"

//! The unix-style name of the application. used in filenames
#define UNIXNAME		"ldforge"

//! The major version number.
#define VERSION_MAJOR	0

//! The minor version number.
#define VERSION_MINOR	3

//! The patch level version number.
#define VERSION_PATCH	0

//! The build ID, use either BUILD_INTERNAL or BUILD_RELEASE
#define BUILD_ID		BUILD_INTERNAL

//! The build code for internal builds
#define BUILD_INTERNAL	0

//! The build code for release builds.
#define BUILD_RELEASE	1

// =============================================
#ifdef DEBUG
# undef RELEASE
#endif // DEBUG

#ifdef RELEASE
# undef DEBUG
#endif // RELEASE

const char* versionString();
const char* fullVersionString();
const char* compileTimeString();

mercurial