phoenix-firestorm/indra/newview/fsversionvalues.h.in

51 lines
2.1 KiB
C
Executable File

/**
* @file fsversionvalues.h.in
* @brief Routines to access the viewer version and build information
* @author Tonya Souther
*
* $LicenseInfo:firstyear=2013&license=fsviewerlgpl$
* Phoenix Firestorm Viewer Source Code
* Copyright (C) 2013, The Phoenix Firestorm Project, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation;
* version 2.1 of the License only.
*
* This library 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
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
* The Phoenix Firestorm Project, Inc., 1831 Oakwood Drive, Fairmont, Minnesota 56031-3225 USA
* http://www.phoenixviewer.com
* $/LicenseInfo$
*/
#ifndef FS_FSVERSIONVALUES_H
#define FS_FSVERSIONVALUES_H
// <FS:TS> Define the version and channel substitution macros here instead
// of via cmake compile-time defines in order to not force a rebuild
// of the entire newview directory with every Mercurial pull
// NOTE: This file should not be included anywhere in the main viewer code
// but llversioninfo.cpp. If you need the current viewer version in
// a different format than is already provided there, then add a
// function to that file and reference it, rather than building your
// own function elsewhere.
#define LL_VIEWER_CHANNEL "@VIEWER_CHANNEL@"
#define LL_VIEWER_VERSION_MAJOR @VIEWER_VERSION_MAJOR@
#define LL_VIEWER_VERSION_MINOR @VIEWER_VERSION_MINOR@
#define LL_VIEWER_VERSION_PATCH @VIEWER_VERSION_PATCH@
#define LL_VIEWER_VERSION_BUILD @VIEWER_VERSION_REVISION@
const std::string LL_VIEWER_VERSION_GITHASH {@VIEWER_VERSION_GITHASH@};
#define LLBUILD_CONFIG "@CMAKE_BUILD_TYPE@"
// </FS:TS>
#endif