From 4a9650df804c58a20e4afdc94383d9ef7739c9a1 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sun, 30 Aug 2009 01:40:39 -0700 Subject: [PATCH] Added missing version file. --- public/sourcemod_version.h | 52 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 public/sourcemod_version.h diff --git a/public/sourcemod_version.h b/public/sourcemod_version.h new file mode 100644 index 00000000..5bc3293a --- /dev/null +++ b/public/sourcemod_version.h @@ -0,0 +1,52 @@ +/** + * vim: set ts=4 : + * ============================================================================= + * SourceMod + * Copyright (C) 2004-2008 AlliedModders LLC. All rights reserved. + * ============================================================================= + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU General Public License, version 3.0, as published by the + * Free Software Foundation. + * + * 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 . + * + * As a special exception, AlliedModders LLC gives you permission to link the + * code of this program (as well as its derivative works) to "Half-Life 2," the + * "Source Engine," the "SourcePawn JIT," and any Game MODs that run on software + * by the Valve Corporation. You must obey the GNU General Public License in + * all respects for all other code used. Additionally, AlliedModders LLC grants + * this exception to all derivative works. AlliedModders LLC defines further + * exceptions, found in LICENSE.txt (as of this writing, version JULY-31-2007), + * or . + * + * Version: $Id$ + */ + +#ifndef _INCLUDE_SOURCEMOD_VERSION_INFORMATION_H_ +#define _INCLUDE_SOURCEMOD_VERSION_INFORMATION_H_ + +/** + * @file Contains SourceMod version information. + * @brief This file will redirect to an autogenerated version if being compiled via + * the build scripts. + */ + +#if defined SM_GENERATED_BUILD +#include +#else +#define SM_BUILD_STRING "-pdev" +#define SM_BUILD_UNIQUEID "2650:5d34bc3edbfa" SM_BUILD_STRING +#define SM_FULL_VERSION "1.3.0" SM_BUILD_STRING +#define SM_FILE_VERSION 1,3,0,0 +#endif +#define SM_BUILD_TIMESTAMP __DATE__ " " __TIME__ + +#endif /* _INCLUDE_SOURCEMOD_VERSION_INFORMATION_H_ */ +